Skip to content

Commit 1d95c51

Browse files
committed
Add NOTICE-generator
1 parent 8fcda04 commit 1d95c51

File tree

3 files changed

+7287
-0
lines changed

3 files changed

+7287
-0
lines changed

.drone.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pipeline:
1717
commands:
1818
- apk -U add openssh-client
1919
- make clean
20+
- make notice-up-to-date
2021
- make generate
2122
- make vet
2223
- make lint

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ errcheck:
7171
fi
7272
errcheck $(PACKAGES)
7373

74+
NOTICE: vendor/
75+
rm -f NOTICE # `govendor license` appends...
76+
govendor license -o NOTICE +v
77+
78+
notice-up-to-date: NOTICE
79+
git ls-files --error-unmatch NOTICE
80+
git diff --exit-code
81+
7482
.PHONY: lint
7583
lint:
7684
@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \

0 commit comments

Comments
 (0)