feat: Added build-win target to justfile 🔧

Allows build an executable for the windows platform.
This commit is contained in:
2024-09-02 16:48:34 +12:00
parent 8cc2fce727
commit 292d582a45

View File

@@ -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