test/.drone.sh
ston1th e92f12f2b7
All checks were successful
the build was successful
debug
2019-01-18 22:16:55 +01:00

6 lines
264 B
Bash
Executable file

#!/bin/sh
VERSION=${DRONE_BUILD_NUMBER}
CGO_ENABLED=0 GOOS=linux go build -v -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o db db.go
CGO_ENABLED=0 GOOS=linux go build -v -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o srv srv.go
ls -lahR .