blob: 57b1c169287fbdacc5ca920647b06b1ccbf0d73f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
set -e
set -x
if ! [ -d bin ] ; then
mkdir bin
fi
commands=cli
for cmd in $commands ; do
export GOOS=windows
export GOARCH="386"
go build -o bin/steam-export-$GOOS-$GOARCH.exe ./cmd/$cmd
export GOOS=windows
export GOARCH=amd64
go build -o bin/steam-export-$GOOS-$GOARCH.exe ./cmd/$cmd
export GOOS=linux
export GOARCH=amd64
go build -o bin/steam-export-$GOOS-$GOARCH ./cmd/$cmd
done
|