File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ DOC_FILES := \
1515 runtime-config.md \
1616 runtime-config-linux.md \
1717 glossary.md
18+ EPOCH_TEST_COMMIT := 041eb73d2e0391463894c04c8ac938036143eba3
1819
1920docs : pdf html
21+ .PHONY : docs
2022
2123pdf :
2224 @mkdir -p output/ && \
4042 vbatts/pandoc -f markdown_github -t html5 -o /output/docs.html $(patsubst % ,/input/% ,$(DOC_FILES ) ) && \
4143 ls -sh $(shell readlink -f output/docs.html)
4244
45+ .PHONY : test .govet .golint .gitvalidation
46+
47+ test : .govet .golint .gitvalidation
48+
49+ # `go get golang.org/x/tools/cmd/vet`
50+ .govet :
51+ go vet -x ./...
52+
53+ # `go get github.com/golang/lint/golint`
54+ .golint :
55+ golint ./...
56+
57+ # `go get github.com/vbatts/git-validation`
58+ .gitvalidation :
59+ git-validation -q -run DCO,short-subject -v -range $(EPOCH_TEST_COMMIT ) ..HEAD
60+
4361clean :
4462 rm -rf output/ * ~
4563
You can’t perform that action at this time.
0 commit comments