added just file for convenience

This commit is contained in:
Jermeiah S 2025-06-27 15:11:38 -04:00
parent 1957733d3c
commit 48c9ea8a03
No known key found for this signature in database
2 changed files with 61 additions and 14 deletions

31
justfile Normal file
View file

@ -0,0 +1,31 @@
# Set the shell
set shell := ["bash", "-cu"]
# Build the Go project
build:
go build -o bin/app .
# Run the Go project
run:
go run .
# Run tests
test:
go test ./...
# Clean build artifacts
clean:
rm -rf bin
# Format the code
fmt:
go fmt ./...
# Tidy up go.mod/go.sum
tidy:
go mod tidy
# Init Go module (optional first step)
init name:
go mod init {{name}}