test/.drone.sh
ston1th 5c2e3223bb
All checks were successful
the build was successful
verbose build
2018-12-24 17:21:02 +01:00

5 lines
259 B
Bash
Executable file

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