-
Notifications
You must be signed in to change notification settings - Fork 2
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 #3 from EGT-Ukraine/releases
releases added for different architectures and OS'es
- Loading branch information
Showing
3 changed files
with
25 additions
and
7 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,10 +1,28 @@ | ||
|
||
.PHONY: all test build | ||
.PHONY: all test build build-linux-amd64 build-osx-amd64 build-windows-amd64 build-win-386 | ||
|
||
all: test build | ||
all: test build build-linux-amd64 build-osx-amd64 build-windows-amd64 build-win-386 | ||
|
||
test: | ||
@go test -v -race ./... | ||
|
||
build: | ||
@go build | ||
@go build -o gtw | ||
|
||
build-linux-amd64: | ||
@GOOS=linux GOARCH=amd64 go build -o gtw-linux-amd64 | ||
|
||
build-linux-386: | ||
@GOOS=linux GOARCH=386 go build -o gtw-linux-386 | ||
|
||
build-osx-amd64: | ||
@GOOS=darwin GOARCH=amd64 go build -o gtw-osx-amd64 | ||
|
||
build-osx-386: | ||
@GOOS=darwin GOARCH=386 go build -o gtw-osx-386 | ||
|
||
build-windows-amd64: | ||
@GOOS=darwin GOARCH=amd64 go build -o gtw-win-amd64.exe | ||
|
||
build-win-386: | ||
@GOOS=darwin GOARCH=386 go build -o gtw-win-386.exe |
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