Add build.sh
This commit is contained in:
parent
e31c96178c
commit
940df9c199
1 changed files with 5 additions and 0 deletions
5
build.sh
Normal file
5
build.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -buildvcs=false -installsuffix cgo -ldflags '-extldflags "-static" -s -w' -o main git.tdpain.net/codemicro/pi-phone/pi-phone
|
Loading…
Add table
Add a link
Reference in a new issue