Skip to content

Commit 77ae57d

Browse files
committed
Add NOTICE-generator
1 parent 54f0293 commit 77ae57d

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
@@ -16,6 +16,7 @@ pipeline:
1616
commands:
1717
- apk -U add openssh-client
1818
- make clean
19+
- make notice-up-to-date
1920
- make generate
2021
- make vet
2122
- make lint

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ errcheck:
6363
fi
6464
errcheck $(PACKAGES)
6565

66+
NOTICE: vendor/
67+
rm -f NOTICE # `govendor license` appends...
68+
govendor license -o NOTICE +v
69+
70+
notice-up-to-date: NOTICE
71+
git ls-files --error-unmatch NOTICE
72+
git diff --exit-code
73+
6674
.PHONY: lint
6775
lint:
6876
@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \

0 commit comments

Comments
 (0)