From ffc506371c1835b90b4bfd3d5160348322a2426d Mon Sep 17 00:00:00 2001 From: Nazar Kanaev Date: Fri, 2 Oct 2020 12:38:33 +0100 Subject: [PATCH] default build --- makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefile b/makefile index de6c431..83c3042 100644 --- a/makefile +++ b/makefile @@ -14,6 +14,10 @@ server/assets.go: $(ASSETS) bundle: server/assets.go +build_default: bundle + mkdir -p _output + go build -tags "sqlite_foreign_keys release" -ldflags="$(GO_LDFLAGS)" -o _output/yarr main.go + build_macos: bundle set GOOS=darwin set GOARCH=amd64