wakapi/scripts/build.sh

8 lines
228 B
Bash
Raw Permalink Normal View History

2020-03-31 13:22:17 +03:00
#!/bin/bash
# Requires Go and Docker to be installed
# Run once initially: go get github.com/mattn/go-sqlite3
2020-03-31 13:22:17 +03:00
VERSION=$(cat version.txt)
xgo -targets linux/amd64,darwin/amd64,windows/amd64 -dest build -out "wakapi_$VERSION" .