Skip to content

Commit

Permalink
added 32 & 64 bit binaries + build script
Browse files Browse the repository at this point in the history
Patrick Kosterman committed Jun 25, 2020
1 parent f8b2c31 commit 018184a
Showing 9 changed files with 17 additions and 0 deletions.
Binary file added bin/encrypted-link-generator-linux-32-bit
Binary file not shown.
Binary file added bin/encrypted-link-generator-linux-64-bit
Binary file not shown.
Binary file removed bin/encrypted-link-generator-osx
Binary file not shown.
Binary file added bin/encrypted-link-generator-osx-32-bit
Binary file not shown.
File renamed without changes.
Binary file added bin/encrypted-link-generator-windows-32-bit.exe
Binary file not shown.
Binary file added bin/encrypted-link-generator-windows-64-bit.exe
Binary file not shown.
Binary file removed bin/encrypted-link-generator-windows.exe
Binary file not shown.
17 changes: 17 additions & 0 deletions build.sh
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"

0 comments on commit 018184a

Please sign in to comment.