-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
2 changed files
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ config.json | |
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ | ||
dist/ |
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 @@ | ||
# /bin/sh | ||
mkdir dist/ | ||
echo "Building darwin" | ||
GOOS=darwin GOARCH=amd64 go build | ||
mv utm dist/utm_darwin_amd64 | ||
|
||
echo "Building linux" | ||
#GOOS=linux GOARCH=386 go build | ||
#mv aroz_online build/aroz_online_linux_i386 | ||
GOOS=linux GOARCH=amd64 go build | ||
mv utm dist/utm_linux_amd64 | ||
GOOS=linux GOARCH=arm GOARM=6 go build | ||
mv utm dist/utm_linux_arm | ||
GOOS=linux GOARCH=arm GOARM=7 go build | ||
mv utm dist/utm_linux_armv7 | ||
GOOS=linux GOARCH=arm64 go build | ||
mv utm dist/utm_linux_arm64 | ||
|
||
echo "Building windows" | ||
GOOS=windows GOARCH=amd64 go build | ||
mv utm dist/utm_windows_amd64.exe | ||
|
||
echo "OK" |