5 lines
192 B
Bash
5 lines
192 B
Bash
#!/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
|