Skip to content

Commit 7887344

Browse files
authored
Merge pull request #2 from PassKit/updated-binaries
added 32 & 64 bit binaries + build script
2 parents f8b2c31 + 018184a commit 7887344

9 files changed

+17
-0
lines changed
2.58 MB
Binary file not shown.
2.86 MB
Binary file not shown.

bin/encrypted-link-generator-osx

-2.87 MB
Binary file not shown.
2.59 MB
Binary file not shown.
File renamed without changes.
2.66 MB
Binary file not shown.
2.95 MB
Binary file not shown.
-2.87 MB
Binary file not shown.

build.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
echo "Removing old binaries from ./bin"
3+
rm -rf ./bin/*
4+
5+
echo "Compiling Windows binaries into ./bin/"
6+
GOOS=windows GOARCH=386 go build -o ./bin/encrypted-link-generator-windows-32-bit.exe ./src/
7+
GOOS=windows GOARCH=amd64 go build -o ./bin/encrypted-link-generator-windows-64-bit.exe ./src/
8+
9+
echo "Compiling Linux binaries into ./bin/"
10+
GOOS=linux GOARCH=386 go build -o ./bin/encrypted-link-generator-linux-32-bit ./src/
11+
GOOS=linux GOARCH=amd64 go build -o ./bin/encrypted-link-generator-linux-64-bit ./src/
12+
13+
echo "Compiling OSX binaries into ./bin/"
14+
GOOS=darwin GOARCH=386 go build -o ./bin/encrypted-link-generator-osx-32-bit ./src/
15+
GOOS=darwin GOARCH=amd64 go build -o ./bin/encrypted-link-generator-osx-64-bit ./src/
16+
17+
echo "Done"

0 commit comments

Comments
 (0)