refactor(just): split monolithic Justfile into project-specific modules

Organize recipes into dedicated Justfiles for pacman, server, and web components. Root Justfile now serves as a thin facade with common aliases pointing to submodule recipes.
This commit is contained in:
2025-12-30 02:16:18 -06:00
parent a636870661
commit de7c656b61
4 changed files with 131 additions and 124 deletions
+23
View File
@@ -0,0 +1,23 @@
set shell := ["bash", "-c"]
# Run the dev server
dev:
bun run dev
# Build and preview the frontend
up:
bun run build
bun run preview
# Build the web version (game + frontend)
[no-cd]
build *args:
bun run pacman/web.build.ts {{args}}
bun run --cwd web build
# Build and serve with caddy
[no-cd]
serve *args:
bun run pacman/web.build.ts {{args}}
bun run --cwd web build
caddy file-server --root web/dist/client --listen :8547