Private
Public Access
0
0

reorder to try to use go modules

This commit is contained in:
teizz
2021-09-30 12:26:15 +02:00
parent cd0673777f
commit 979ef108f4
9 changed files with 86 additions and 33 deletions

9
build.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
export CGO_ENABLED=0
export GO111MODULE=off
echo go build -trimpath \
-ldflags="all=-s -w -buildid= -X main.version=$(cat VERSION) -X main.buildtime=$(date +%FT%T%z)" \
-o pathway \
src/*.go