-
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
1 parent
c5461a7
commit 1643177
Showing
4 changed files
with
60 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Set-Variable GOOS=linux | ||
Set-Variable GOARCH=amd64 | ||
go build -o build/key2sACN-linux-64 | ||
|
||
Set-Variable GOOS=linux | ||
Set-Variable GOARCH=386 | ||
go build -o build/key2sACN-linux-32 | ||
|
||
Set-Variable GOOS=windows | ||
Set-Variable GOARCH=amd64 | ||
go build -o build/key2sACN-windows-64.exe | ||
|
||
Set-Variable GOOS=windows | ||
Set-Variable GOARCH=386 | ||
go build -o build/key2sACN-windows-32.exe | ||
|
||
Set-Variable GOOS=darwin | ||
Set-Variable GOARCH=amd64 | ||
go build -o build/key2sACN-macos-64 | ||
|
||
Set-Variable GOOS=darwin | ||
Set-Variable GOARCH=386 | ||
go build -o build/key2sACN-macos-32 |
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,33 @@ | ||
#!/bin/bash | ||
|
||
GREEN='\033[0;32m' | ||
NC='\033[0m' # No Color | ||
#TICK='\033[0;32m \xE2\x9C\x93 \033[0m' | ||
TICK=$GREEN'\xE2\x9C\x93'$NC | ||
|
||
printf 'building for...\n' | ||
printf 'Linux AMD64' | ||
if GOOS=linux GOARCH=amd64 go build -o build/key2sACN-linux-64; then | ||
printf ' '$TICK'\n' $TICK | ||
fi | ||
|
||
printf 'Linux 386' | ||
if GOOS=linux GOARCH=386 go build -o build/key2sACN-linux-32; then | ||
printf ' '$TICK'\n' $TICK | ||
fi | ||
|
||
printf 'Windows AMD64' | ||
if GOOS=windows GOARCH=amd64 go build -o build/key2sACN-windows-64.exe; then | ||
printf ' '$TICK'\n' $TICK | ||
fi | ||
|
||
printf 'Windows 386' | ||
if GOOS=windows GOARCH=386 go build -o build/key2sACN-windows-32.exe; then | ||
printf ' '$TICK'\n' $TICK | ||
fi | ||
|
||
#printf 'Darwin AMD64' | ||
#GOOS=darwin GOARCH=amd64 go build -o build/key2sACN-macos-64 | ||
|
||
#printf 'Darwin 386' | ||
#GOOS=darwin GOARCH=386 go build -o build/key2sACN-macos-32 |