initial commit

This commit is contained in:
ston1th 2018-12-24 14:59:39 +01:00
commit 68e8ab190e
6 changed files with 162 additions and 0 deletions

5
.drone.sh Executable file
View file

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