File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ DOC_FILES := \
3333
3434default : docs
3535
36- .PHONY : docs
3736docs : $(OUTPUT_DIRNAME ) /$(DOC_FILENAME ) .pdf $(OUTPUT_DIRNAME ) /$(DOC_FILENAME ) .html
3837
3938ifeq "$(strip $(PANDOC ) ) " ''
@@ -56,8 +55,6 @@ HOST_GOLANG_VERSION = $(shell go version | cut -d ' ' -f3 | cut -c 3-)
5655# this variable is used like a function. First arg is the minimum version, Second arg is the version to be checked.
5756ALLOWED_GO_VERSION = $(shell test '$(shell /bin/echo -e "$(1 ) \n$(2 ) " | sort -V | head -n1) ' = '$(1 ) ' && echo 'true')
5857
59- .PHONY : test .govet .golint .gitvalidation
60-
6158test : .govet .golint .gitvalidation
6259
6360.govet :
8077 git-validation -v -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..HEAD
8178endif
8279
83-
84- .PHONY : install.tools
8580install.tools : .install.golint .install.gitvalidation
8681
8782# golint does not even build for <go1.6
9388.install.gitvalidation :
9489 go get -u github.com/vbatts/git-validation
9590
96-
97- .PHONY : clean
9891clean :
9992 rm -rf $(OUTPUT_DIRNAME ) * ~
10093 rm -f version.md
Original file line number Diff line number Diff line change 11GOOD_TESTS = $(wildcard test/good/* .json)
22BAD_TESTS = $(wildcard test/bad/* .json)
33
4- .PHONY : default
54default : validate
65
7- .PHONY : help
86help :
97 @echo " Usage: make [target]"
108 @echo
119 @echo " * 'fmt' - format the json with indentation"
1210 @echo " * 'help' - show this help information"
1311 @echo " * 'validate' - build the validation tool"
1412
15- .PHONY : fmt
1613fmt :
1714 find . -name ' *.json' -exec bash -c ' jq --indent 4 -M . {} > xx && mv xx {} || echo "skipping invalid {}"' \;
1815
@@ -21,7 +18,6 @@ validate: validate.go
2118 go get -d ./...
2219 go build ./validate.go
2320
24- .PHONY : test
2521test : validate $(TESTS )
2622 for TYPE in $$ (ls test); \
2723 do \
@@ -50,6 +46,5 @@ test: validate $(TESTS)
5046 done ; \
5147 done
5248
53- .PHONY : clean
5449clean :
5550 rm -f validate
You can’t perform that action at this time.
0 commit comments