diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-11-21 15:45:25 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-11-21 15:45:25 -0500 |
| commit | 2eca9c19a96aeef8f1b5deabe6dbd71fc688d566 (patch) | |
| tree | 32919ee67d397b8a6181e83cb24551e6f35d98c0 | |
| parent | 36dc9ff10971cf97eb077907072c519cb5349fe4 (diff) | |
| download | steam-export-2eca9c19a96aeef8f1b5deabe6dbd71fc688d566.tar.gz steam-export-2eca9c19a96aeef8f1b5deabe6dbd71fc688d566.tar.xz | |
Adjust the build script
| -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 |
