-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
27 lines (21 loc) · 1.01 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ifneq (,)
.error This Makefile requires GNU Make.
endif
# -------------------------------------------------------------------------------------------------
# Default configuration
# -------------------------------------------------------------------------------------------------
.PHONY: help test lint
# -------------------------------------------------------------------------------------------------
# Default Target
# -------------------------------------------------------------------------------------------------
help:
@printf "%s\n" "make test Test linkcheck"
@printf "%s\n" "make lint Lint source files with shellcheck"
@printf "%s\n" "make help Show help"
# -------------------------------------------------------------------------------------------------
# Targets
# -------------------------------------------------------------------------------------------------
lint:
docker run --rm -v $(PWD):/mnt koalaman/shellcheck:stable --shell=bash linkcheck
test:
./tests/test.sh