Skip to content

Commit

Permalink
Merge pull request #2 from PassKit/updated-binaries
Browse files Browse the repository at this point in the history
added 32 & 64 bit binaries + build script
  • Loading branch information
pkosterman authored Jun 25, 2020
2 parents f8b2c31 + 018184a commit 7887344
Show file tree
Hide file tree
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 7887344

Please sign in to comment.