1
0

build.sh 240 B

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