forked from LeOndaz/qurandw
-
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.
add build script for different platforms
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
qurandw | ||
bin | ||
.DS_Store | ||
.idea |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
# for mac | ||
GOOS=darwin GOARCH=amd64 go build -o bin/qurandw-darwin-amd64 | ||
GOOS=darwin GOARCH=arm64 go build -o bin/qurandw-darwin-arm64 | ||
|
||
# for linux | ||
GOOS=linux GOARCH=amd64 go build -o bin/qurandw-linux-amd64 | ||
GOOS=linux GOARCH=386 go build -o bin/qurandw-linux-x86 | ||
|
||
# for windows | ||
GOOS=windows GOARCH=amd64 go build -o bin/qurandw-win32-amd64.exe | ||
GOOS=windows GOARCH=386 go build -o bin/qurandw-win32-x86.exe |