This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
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
3 changed files
with
64 additions
and
40 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,17 +1,24 @@ | ||
set -e | ||
export VERSION="0.49" | ||
export VERSION="0.50" | ||
export NAME="discordeq" | ||
echo "Preparing discordeq v${VERSION}" | ||
rm -rf bin/* | ||
echo "Building Linux" | ||
echo "x64" | ||
GOOS=linux GOARCH=amd64 go build main.go | ||
mv main bin/$NAME-$VERSION-linux-x64 | ||
echo "x86" | ||
GOOS=linux GOARCH=386 go build main.go | ||
mv main bin/$NAME-$VERSION-linux-x86 | ||
echo "Building Windows" | ||
echo "x64" | ||
GOOS=windows GOARCH=amd64 go build main.go | ||
mv main.exe bin/$NAME-$VERSION-windows-x64.exe | ||
echo "x86" | ||
GOOS=windows GOARCH=386 go build main.go | ||
mv main.exe bin/$NAME-$VERSION-windows-x86.exe | ||
echo "Building OSX" | ||
echo "x64" | ||
GOOS=darwin GOARCH=amd64 go build main.go | ||
mv main bin/$NAME-$VERSION-osx-x64 | ||
echo "Completed." |
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