test/.drone.sh
ston1th 1638cde7c4
Some checks failed
the build failed
debug
2019-01-18 22:15:23 +01:00

6 lines
279 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
find -type f | xargs file