feat: Added build-win target to justfile 🔧
Allows build an executable for the windows platform.
This commit is contained in:
4
justfile
4
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
|
||||
|
||||
Reference in New Issue
Block a user