You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
261 B

#!/bin/bash
set -e
build () {
pushd ./src &>/dev/null
go get honnef.co/go/tools/cmd/staticcheck
go get github.com/zserge/lorca
gofmt -w .
staticcheck .
CGO_ENABLED=1 GOARCH=amd64 go build -o ./kavea_linux_amd64 -v .
popd &>/dev/null
}
$@