update
This commit is contained in:
parent
915e523186
commit
303de5dc8b
2 changed files with 16 additions and 3 deletions
8
justfile
8
justfile
|
@ -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 "$@"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue