Skip to content

Commit

Permalink
build: setup elastic/go-licenser
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Aug 29, 2019
1 parent 492faf9 commit c19eb3c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,15 @@ AUTHORS:
.PHONY: fuzz
fuzz:
docker run moov/achfuzz:latest

.PHONY: legal
legal:
ifeq ($(OS),Linux)
@wget -q -nc https://github.com/elastic/go-licenser/releases/download/v0.3.0/go-licenser_0.3.0_Linux_x86_64.tar.gz
@tar xf go-licenser_0.3.0_Linux_x86_64.tar.gz
else
@wget -q -nc https://github.com/elastic/go-licenser/releases/download/v0.3.0/go-licenser_0.3.0_Darwin_x86_64.tar.gz
@tar xf go-licenser_0.3.0_Darwin_x86_64.tar.gz
endif
./go-licenser -exclude ./vendor/ -license ASL2 -licensor 'The Moov Authors' -notice
@git checkout README.md LICENSE vendor/

0 comments on commit c19eb3c

Please sign in to comment.