-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added 32 & 64 bit binaries + build script
Patrick Kosterman
committed
Jun 25, 2020
1 parent
f8b2c31
commit 018184a
Showing
9 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,17 @@ | ||
#!/bin/bash | ||
echo "Removing old binaries from ./bin" | ||
rm -rf ./bin/* | ||
|
||
echo "Compiling Windows binaries into ./bin/" | ||
GOOS=windows GOARCH=386 go build -o ./bin/encrypted-link-generator-windows-32-bit.exe ./src/ | ||
GOOS=windows GOARCH=amd64 go build -o ./bin/encrypted-link-generator-windows-64-bit.exe ./src/ | ||
|
||
echo "Compiling Linux binaries into ./bin/" | ||
GOOS=linux GOARCH=386 go build -o ./bin/encrypted-link-generator-linux-32-bit ./src/ | ||
GOOS=linux GOARCH=amd64 go build -o ./bin/encrypted-link-generator-linux-64-bit ./src/ | ||
|
||
echo "Compiling OSX binaries into ./bin/" | ||
GOOS=darwin GOARCH=386 go build -o ./bin/encrypted-link-generator-osx-32-bit ./src/ | ||
GOOS=darwin GOARCH=amd64 go build -o ./bin/encrypted-link-generator-osx-64-bit ./src/ | ||
|
||
echo "Done" |