Skip to content

Commit

Permalink
Add NOTICE-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
bkcsoft committed Apr 12, 2017
1 parent 54f0293 commit 77ae57d
Show file tree
Hide file tree
Showing 3 changed files with 7,287 additions and 0 deletions.
1 change: 1 addition & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pipeline:
commands:
- apk -U add openssh-client
- make clean
- make notice-up-to-date
- make generate
- make vet
- make lint
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ errcheck:
fi
errcheck $(PACKAGES)

NOTICE: vendor/
rm -f NOTICE # `govendor license` appends...
govendor license -o NOTICE +v

notice-up-to-date: NOTICE
git ls-files --error-unmatch NOTICE
git diff --exit-code

.PHONY: lint
lint:
@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
Expand Down
Loading

0 comments on commit 77ae57d

Please sign in to comment.