aboutsummaryrefslogtreecommitdiff
path: root/Build.sh
blob: 14c3a030088bb26cab565516ebe5cbbc4f25ba5a (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 .

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/