aboutsummaryrefslogtreecommitdiff
path: root/Build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Build.sh')
-rwxr-xr-xBuild.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/Build.sh b/Build.sh
new file mode 100755
index 0000000..14c3a03
--- /dev/null
+++ b/Build.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+
+if ! [ -d bin ] ; then
+ mkdir bin
+fi
+
+go build -o bin/steam-export .
+
+GOOS=windows
+GOARCH="386"
+go build -o bin/steam-export-$GOOS-$GOARCH .
+
+GOOS=windows
+GOARCH=amd64
+go build -o bin/steam-export-$GOOS-$GOARCH.exe .
+
+GOOS=linux
+GOARCH=amd64
+go build -o bin/steam-export-$GOOS-$GOARCH.exe .
+
+cp bin/steam-export-windows-amd64.exe /Fishtank/Mitch/SteamDrive/SteamGames/