refactor: add setup, build-dev, dev, and run targets to justfile

This commit is contained in:
2026-06-21 01:28:23 +02:00
committed by Milas Holsting
parent c5bd09623e
commit 6df9c1b9f6

View File

@@ -41,12 +41,23 @@ check: lint test typecheck build
install-hooks: install-hooks:
bunx lefthook install 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 @./server
clean: clean:
rm -rf dist/* rm -rf dist/*
rm -f server rm -f server
rm -rf tmp
new-data-fix name: new-data-fix name:
bun run ./scripts/new-data-fix.ts {{name}} bun run ./scripts/new-data-fix.ts {{name}}