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

5 months ago
4 weeks ago
5 months ago
4 weeks ago
5 months ago
  1. #!/bin/bash
  2. set -e
  3. build () {
  4. pushd ./src &>/dev/null
  5. go get honnef.co/go/tools/cmd/staticcheck
  6. go get github.com/zserge/lorca
  7. gofmt -w .
  8. staticcheck .
  9. CGO_ENABLED=1 GOARCH=amd64 go build -o ./kavea_linux_amd64 -v .
  10. popd &>/dev/null
  11. }
  12. $@