summaryrefslogtreecommitdiff
path: root/gobuild.sh
blob: e85b718e636ffcb3bd1ee79469f880567668f126 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

SRCDIR=$(pwd)

export GOPATH="$GOPATH:$SRCDIR"
export GO111MODULE="off"

go build -o build/${1} src/${1}.go