diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2017-01-03 18:14:32 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2017-01-03 18:14:32 -0500 |
| commit | c5d68db9fb5f831106ce3eb12048e8f9005e531b (patch) | |
| tree | efb7f9298b53349e218792cb4379350c1bf0511f /Build.sh | |
| parent | 8c2ed23f2e25265c6a74870eb4f6b5ad0e82f475 (diff) | |
| download | steam-export-c5d68db9fb5f831106ce3eb12048e8f9005e531b.tar.gz steam-export-c5d68db9fb5f831106ce3eb12048e8f9005e531b.tar.xz | |
Added a build script with other minimal changes
Diffstat (limited to 'Build.sh')
| -rwxr-xr-x | Build.sh | 22 |
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/ |
