initial commit
This commit is contained in:
commit
68e8ab190e
6 changed files with 162 additions and 0 deletions
5
.drone.sh
Executable file
5
.drone.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue