justinging

This commit is contained in:
Scott Richmond 2025-07-02 15:34:36 -04:00
parent d9b095c3f3
commit 14a41dc1bd

View File

@ -15,20 +15,20 @@ clean-wasm-pack:
cat pkg/rudus.js.backup | tail -n+2>> pkg/rudus.js cat pkg/rudus.js.backup | tail -n+2>> pkg/rudus.js
rm pkg/rudus.js.backup rm pkg/rudus.js.backup
from-branch := `git branch --show-current` from_branch := `git branch --show-current`
git-good := if `git status -s` != "" { error("please commit changes first") } else { "ok" } git_status := `git status -s`
release: release:
if `git status -s` == "" { error("please commit any changes first") } echo {{ if git_status == "" {"git status ok"} else {error("please commit changes first")} }}
just wasm just wasm
git commit -am "release build" git commit -am "release build"
git checkout release git checkout release
git merge {{from-branch}} git merge {{from_branch}}
git push git push
git checkout {{from-branch}} git checkout {{from_branch}}
ensure-gits-good: hi:
echo {{git-good}} echo {{ if git_status == "" { "git ok" } else { error("please commit changes first") } }}
serve: serve:
open http://localhost:8080/index.html && miniserve pkg open http://localhost:8080/index.html && miniserve pkg