From 292d582a45cc3306df5a892fea31cc85c4923722 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Mon, 2 Sep 2024 16:48:34 +1200 Subject: [PATCH] =?UTF-8?q?feat:=20Added=20build-win=20target=20to=20justf?= =?UTF-8?q?ile=20=F0=9F=94=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows build an executable for the windows platform. --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index c5cc2b0..f218bf4 100755 --- a/justfile +++ b/justfile @@ -9,6 +9,10 @@ install: build: @echo -n "Building app ... " @go build {{flags}} -o bin/ && echo "OK" || echo "FAILED" + +build-win: + @echo -n "Building app for windows ... " + @GOOS=windows GOARCH=amd64 go build {{flags}} -o bin/ && echo "OK" || echo "FAILED" update: go get -u go mod tidy -v