refactor: add setup, build-dev, dev, and run targets to justfile
This commit is contained in:
13
justfile
13
justfile
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user