keep justing

This commit is contained in:
Scott Richmond 2025-07-02 15:26:19 -04:00
parent 44739adfe5
commit d9b095c3f3

View File

@ -16,8 +16,10 @@ clean-wasm-pack:
rm pkg/rudus.js.backup
from-branch := `git branch --show-current`
git-good := if `git status -s` != "" { error("please commit changes first") } else { "ok" }
release:
if `git status -s` == "" { error("please commit any changes first") }
just wasm
git commit -am "release build"
git checkout release
@ -25,6 +27,9 @@ release:
git push
git checkout {{from-branch}}
ensure-gits-good:
echo {{git-good}}
serve:
open http://localhost:8080/index.html && miniserve pkg