aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-11-21 15:45:25 -0500
committerMitch Riedstra <mitch@riedstra.us>2020-11-21 15:45:25 -0500
commit2eca9c19a96aeef8f1b5deabe6dbd71fc688d566 (patch)
tree32919ee67d397b8a6181e83cb24551e6f35d98c0 /build.sh
parent36dc9ff10971cf97eb077907072c519cb5349fe4 (diff)
downloadsteam-export-2eca9c19a96aeef8f1b5deabe6dbd71fc688d566.tar.gz
steam-export-2eca9c19a96aeef8f1b5deabe6dbd71fc688d566.tar.xz
Adjust the build script
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 916394a..90ce8b1 100644
--- a/build.sh
+++ b/build.sh
@@ -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