diff --git a/bin/encrypted-link-generator-linux-32-bit b/bin/encrypted-link-generator-linux-32-bit new file mode 100755 index 0000000..3030478 Binary files /dev/null and b/bin/encrypted-link-generator-linux-32-bit differ diff --git a/bin/encrypted-link-generator-linux-64-bit b/bin/encrypted-link-generator-linux-64-bit new file mode 100755 index 0000000..1fa199f Binary files /dev/null and b/bin/encrypted-link-generator-linux-64-bit differ diff --git a/bin/encrypted-link-generator-osx b/bin/encrypted-link-generator-osx deleted file mode 100755 index 5042294..0000000 Binary files a/bin/encrypted-link-generator-osx and /dev/null differ diff --git a/bin/encrypted-link-generator-osx-32-bit b/bin/encrypted-link-generator-osx-32-bit new file mode 100755 index 0000000..776c5b1 Binary files /dev/null and b/bin/encrypted-link-generator-osx-32-bit differ diff --git a/bin/encrypted-link-generator-linux b/bin/encrypted-link-generator-osx-64-bit similarity index 100% rename from bin/encrypted-link-generator-linux rename to bin/encrypted-link-generator-osx-64-bit diff --git a/bin/encrypted-link-generator-windows-32-bit.exe b/bin/encrypted-link-generator-windows-32-bit.exe new file mode 100755 index 0000000..692764e Binary files /dev/null and b/bin/encrypted-link-generator-windows-32-bit.exe differ diff --git a/bin/encrypted-link-generator-windows-64-bit.exe b/bin/encrypted-link-generator-windows-64-bit.exe new file mode 100755 index 0000000..34bb984 Binary files /dev/null and b/bin/encrypted-link-generator-windows-64-bit.exe differ diff --git a/bin/encrypted-link-generator-windows.exe b/bin/encrypted-link-generator-windows.exe deleted file mode 100755 index 5042294..0000000 Binary files a/bin/encrypted-link-generator-windows.exe and /dev/null differ diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..1d8836a --- /dev/null +++ b/build.sh @@ -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" \ No newline at end of file