summaryrefslogtreecommitdiff
path: root/gobuild.sh
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-08-01 16:37:02 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-08-01 16:37:02 -0400
commit628dd83397c47ff484f7c81b06dcd6d1e4af628b (patch)
tree64e213f3966149b424849b3216f78fac87948b4d /gobuild.sh
parent44862e37b5978da8e7af012bbb4b83edaff41299 (diff)
Split main file
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