format justfile

This commit is contained in:
Lilian Jónsdóttir 2024-06-03 19:32:07 -07:00
parent a2f9b69504
commit 3d2c13b588

View file

@ -8,27 +8,27 @@ default: run
# build binary
build:
go build -o {{output}} {{cmd}}
go build -o {{ output }} {{ cmd }}
# run from source
run:
go run {{cmd}}
go run {{ cmd }}
# build 'n run
run-binary: build
exec {{output}}
exec {{ output }}
# run with args
run-args args:
go run {{cmd}} {{args}}
go run {{ cmd }} {{ args }}
# install binary into $GOPATH
install:
go install {{cmd}}
go install {{ cmd }}
# clean up after yourself
clean:
rm {{output}}
rm {{ output }}
# run go tests
test: