-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from timbray/topfew-2.0
kaizen: prepare for 2.0 release
- Loading branch information
Showing
8 changed files
with
48 additions
and
46 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
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,18 +1,18 @@ | ||
.PHONY: test | ||
|
||
all: test tf | ||
all: test topfew | ||
|
||
test: main.go internal/*.go | ||
go test ./... && go vet ./... | ||
|
||
# local version you can run | ||
tf: | ||
go build -o bin/tf | ||
topfew: | ||
go build -o bin/topfew | ||
|
||
release: test | ||
GOOS=darwin GOARCH=arm64 go build -o tf && gzip < tf > tf-macos-arm.gz | ||
GOOS=darwin GOARCH=amd64 go build -o tf && gzip < tf > tf-macos-x86.gz | ||
GOOS=linux GOARCH=amd64 go build -o tf && gzip < tf > tf-linux-x86.gz | ||
GOOS=linux GOARCH=arm64 go build -o tf && gzip < tf > tf-linux-arm.gz | ||
GOOS=windows GOARCH=amd64 go build -o tf && zip -mq tf-windows-x86.exe.zip tf | ||
GOOS=windows GOARCH=arm64 go build -o tf && zip -mq tf-windows-arm.exe.zip tf | ||
GOOS=darwin GOARCH=arm64 go build -o topfew && gzip < topfew>topfew-macos-arm.gz | ||
GOOS=darwin GOARCH=amd64 go build -o topfew && gzip < topfew>topfew-macos-x86.gz | ||
GOOS=linux GOARCH=amd64 go build -o topfew && gzip < topfew>topfew-linux-x86.gz | ||
GOOS=linux GOARCH=arm64 go build -o topfew && gzip < topfew>topfew-linux-arm.gz | ||
GOOS=windows GOARCH=amd64 go build -o topfew && zip -mq topfew-windows-x86.exe.zip topfew | ||
GOOS=windows GOARCH=arm64 go build -o topfew && zip -mq topfew-windows-arm.exe.zip topfew |
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
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
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