Skip to content

Commit

Permalink
Merge pull request #1 from Songmu/bundle-credits
Browse files Browse the repository at this point in the history
bundle CREDITS file into built package
  • Loading branch information
Songmu committed Apr 9, 2019
2 parents 9d0a519 + 09fef80 commit 7af5d03
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
!.gitignore
!.travis.yml
dist/
CREDITS
15 changes: 10 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ deps:
.PHONY: devel-deps
devel-deps: deps
GO111MODULE=off go get ${u} \
golang.org/x/lint/golint \
github.com/mattn/goveralls \
github.com/Songmu/godzil/cmd/godzil \
github.com/Songmu/goxz/cmd/goxz \
golang.org/x/lint/golint \
github.com/mattn/goveralls \
github.com/Songmu/godzil/cmd/godzil \
github.com/Songmu/goxz/cmd/goxz \
github.com/Songmu/gocredits/cmd/gocredits \
github.com/tcnksm/ghr

.PHONY: test
Expand Down Expand Up @@ -45,8 +46,12 @@ install: build
bump: devel-deps
godzil release

.PHONY: credits
credits: devel-deps
gocredits -w .

.PHONY: crossbuild
crossbuild:
crossbuild: credits
goxz -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) \
-os=linux,darwin -d=./dist/v$(VERSION) ./cmd/*

Expand Down

0 comments on commit 7af5d03

Please sign in to comment.