chore: Updated build actions for win/nix 🧑💻
This commit is contained in:
4
justfile
4
justfile
@@ -8,11 +8,11 @@ install:
|
||||
|
||||
build:
|
||||
@echo -n "Building app ... "
|
||||
@go build {{flags}} -o bin/ && echo "OK" || echo "FAILED"
|
||||
@go build {{flags}} -o bin/gosqldump ./main.go && 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"
|
||||
@GOOS=windows GOARCH=amd64 go build {{flags}} -o bin/gosqldump.exe ./main.go && echo "OK" || echo "FAILED"
|
||||
update:
|
||||
go get -u
|
||||
go mod tidy -v
|
||||
|
||||
Reference in New Issue
Block a user