summaryrefslogtreecommitdiff
path: root/gobuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gobuild.sh')
-rw-r--r--[-rwxr-xr-x]gobuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/gobuild.sh b/gobuild.sh
index 67b7acf..daa0a55 100755..100644
--- a/gobuild.sh
+++ b/gobuild.sh
@@ -2,7 +2,7 @@
SRCDIR=$(pwd)
-export GOPATH="$GOPATH:$SRCDIR"
+GOPATH="$GOPATH:$SRCDIR"
+GO111MODULE=off
-go env -w GO111MODULE=off
-go build -o build/parse src/main.go
+go build -o build/${1} src/${1}.go