Skip to content

Commit 0cd1ca4

Browse files
committed
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 <[email protected]>
1 parent 70e725c commit 0cd1ca4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ DOC_FILES := \
1515
runtime-config.md \
1616
runtime-config-linux.md \
1717
glossary.md
18+
EPOCH_TEST_COMMIT := 041eb73d2e0391463894c04c8ac938036143eba3
1819

1920
docs: pdf html
2021
.PHONY: docs
@@ -43,7 +44,7 @@ html:
4344

4445
.PHONY: test .govet .golint .gitvalidation
4546

46-
test: .govet .golint
47+
test: .govet .golint .gitvalidation
4748

4849
# `go get golang.org/x/tools/cmd/vet`
4950
.govet:
@@ -55,7 +56,7 @@ test: .govet .golint
5556

5657
# `go get github.com/vbatts/git-validation`
5758
.gitvalidation:
58-
git-validation -run DCO,short-subject -v -range ${TRAVIS_COMMIT_RANGE}
59+
git-validation -q -run DCO,short-subject -v -range $(EPOCH_TEST_COMMIT)..HEAD
5960

6061
clean:
6162
rm -rf output/ *~

0 commit comments

Comments
 (0)