commit cd1a8ede280df57f8dafe24aadab756d939ed5fa parent 510baee3ba1ecd14c340fce8902d61c02746ef0f Author: Ryan Sepassi <rsepassi@gmail.com> Date: Tue, 25 Aug 2026 21:53:53 -0700 Add build formatting recipes Diffstat:
| A | .gitignore | | | 1 | + |
| A | justfile | | | 16 | ++++++++++++++++ |
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/justfile b/justfile @@ -0,0 +1,16 @@ +binary := "bin/textlog" + +default: build + +# Build the textlog executable. +build: + mkdir -p bin + go build -trimpath -o {{binary}} ./cmd/textlog + +# Remove generated build output. +clean: + rm -rf bin + +# Format all Go packages. +format: + go fmt ./...