-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthieu
committed
Sep 28, 2020
1 parent
033330c
commit a3b0f38
Showing
2 changed files
with
4 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,8 @@ | ||
# Add command | ||
# cobra add download | ||
|
||
# go run main.go download | ||
APPNAME=cappa | ||
darwin: | ||
GOOS=darwin GOARCH=amd64 go build -o ./releases/darwin_amd64/${APPNAME} ${LDFLAGS} *.go | ||
|
||
windows: | ||
GOOS=windows GOARCH=amd64 go build -o ./releases/windows_amd64/${APPNAME}.exe ${LDFLAGS} *.go | ||
|
||
release: | ||
goreleaser --rm-dist | ||
|
||
releasefake: | ||
goreleaser release --skip-publish | ||
build: | ||
goreleaser --snapshot --skip-publish --rm-dist | ||
|
||
test: | ||
go test ./cmd/... -v |