chore: Updated build actions for win/nix 🧑💻
This commit is contained in:
4
justfile
4
justfile
@@ -8,11 +8,11 @@ install:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
@echo -n "Building app ... "
|
@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:
|
build-win:
|
||||||
@echo -n "Building app for windows ... "
|
@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:
|
update:
|
||||||
go get -u
|
go get -u
|
||||||
go mod tidy -v
|
go mod tidy -v
|
||||||
|
|||||||
Reference in New Issue
Block a user