From c5d68db9fb5f831106ce3eb12048e8f9005e531b Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 3 Jan 2017 18:14:32 -0500 Subject: Added a build script with other minimal changes --- Build.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 Build.sh (limited to 'Build.sh') 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/ -- cgit v1.2.3