This commit is contained in:
Daniel Fichtinger 2025-06-22 15:45:59 -04:00
parent 915e523186
commit 303de5dc8b
2 changed files with 16 additions and 3 deletions

View file

@ -3,10 +3,12 @@ build:
serve:
@just run build
@just run serve
run arg:
set positional-arguments := true
run *args:
#!/bin/sh
if [ -d "public" ] && [ "{{arg}}" = "build" ]; then
if [ -d "public" ] && [ "$1" = "build" ]; then
rm -r public
fi
uv run --project ~/dev/zona-py zona {{arg}}
uv run --project ~/dev/zona-py zona "$@"