diff options
| -rwxr-xr-x | Build.sh | 21 | ||||
| -rw-r--r-- | build.sh | 6 |
2 files changed, 3 insertions, 24 deletions
diff --git a/Build.sh b/Build.sh deleted file mode 100755 index 916394a..0000000 --- a/Build.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/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=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 @@ -6,16 +6,16 @@ if ! [ -d bin ] ; then mkdir bin fi -commands=cli +commands="cli web" for cmd in $commands ; do export GOOS=windows export GOARCH=amd64 -go build -o bin/steam-export-$GOOS-$GOARCH.exe ./cmd/$cmd +go build -o bin/steam-export-$cmd-$GOOS-$GOARCH.exe ./cmd/$cmd export GOOS=linux export GOARCH=amd64 -go build -o bin/steam-export-$GOOS-$GOARCH ./cmd/$cmd +go build -o bin/steam-export-$cmd-$GOOS-$GOARCH ./cmd/$cmd done |
