aboutsummaryrefslogtreecommitdiff
path: root/Build.sh
blob: 8a31e2c657136b008bc30bfcc82052239634b785 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh


if ! [ -d bin ] ; then
	mkdir bin
fi

go build -o bin/steam-export .

export GOOS=windows 
export GOARCH="386"
go build -o bin/steam-export-$GOOS-$GOARCH.exe .

export GOOS=windows
export GOARCH=amd64
go build -o bin/steam-export-$GOOS-$GOARCH.exe .

export GOOS=linux
export GOARCH=amd64
go build -o bin/steam-export-$GOOS-$GOARCH .

cp bin/* /Fishtank/Mitch/SteamDrive/scripts/