From 6df9c1b9f6c3a8fb41e0c74f09d11d95d00443a3 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sun, 21 Jun 2026 01:28:23 +0200 Subject: [PATCH] refactor: add setup, build-dev, dev, and run targets to justfile --- justfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 687202f..2d07761 100644 --- a/justfile +++ b/justfile @@ -41,12 +41,23 @@ check: lint test typecheck build install-hooks: bunx lefthook install -dev: build +setup: + mise install + bun install + +build-dev: build-css build-ts + @go build -o tmp/server ./cmd/server + +dev: + @mise exec -- air + +run: build @./server clean: rm -rf dist/* rm -f server + rm -rf tmp new-data-fix name: bun run ./scripts/new-data-fix.ts {{name}}