Makefile: git-validation from an arbitrary epoch
Since we can't go from the first commit, choosing an arbitrary epoch commit Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
70e725cedd
commit
0cd1ca4d1d
5
Makefile
5
Makefile
|
@ -15,6 +15,7 @@ DOC_FILES := \
|
||||||
runtime-config.md \
|
runtime-config.md \
|
||||||
runtime-config-linux.md \
|
runtime-config-linux.md \
|
||||||
glossary.md
|
glossary.md
|
||||||
|
EPOCH_TEST_COMMIT := 041eb73d2e0391463894c04c8ac938036143eba3
|
||||||
|
|
||||||
docs: pdf html
|
docs: pdf html
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
|
@ -43,7 +44,7 @@ html:
|
||||||
|
|
||||||
.PHONY: test .govet .golint .gitvalidation
|
.PHONY: test .govet .golint .gitvalidation
|
||||||
|
|
||||||
test: .govet .golint
|
test: .govet .golint .gitvalidation
|
||||||
|
|
||||||
# `go get golang.org/x/tools/cmd/vet`
|
# `go get golang.org/x/tools/cmd/vet`
|
||||||
.govet:
|
.govet:
|
||||||
|
@ -55,7 +56,7 @@ test: .govet .golint
|
||||||
|
|
||||||
# `go get github.com/vbatts/git-validation`
|
# `go get github.com/vbatts/git-validation`
|
||||||
.gitvalidation:
|
.gitvalidation:
|
||||||
git-validation -run DCO,short-subject -v -range ${TRAVIS_COMMIT_RANGE}
|
git-validation -q -run DCO,short-subject -v -range $(EPOCH_TEST_COMMIT)..HEAD
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf output/ *~
|
rm -rf output/ *~
|
||||||
|
|
Loading…
Reference in New Issue