From 14a41dc1bd6a9555257fc1a51f2e935adef7ff6c Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Wed, 2 Jul 2025 15:34:36 -0400 Subject: [PATCH] justinging --- justfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/justfile b/justfile index 7c71da6..d514524 100644 --- a/justfile +++ b/justfile @@ -15,20 +15,20 @@ clean-wasm-pack: cat pkg/rudus.js.backup | tail -n+2>> pkg/rudus.js rm pkg/rudus.js.backup -from-branch := `git branch --show-current` -git-good := if `git status -s` != "" { error("please commit changes first") } else { "ok" } +from_branch := `git branch --show-current` +git_status := `git status -s` 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 git commit -am "release build" git checkout release - git merge {{from-branch}} + git merge {{from_branch}} git push - git checkout {{from-branch}} + git checkout {{from_branch}} -ensure-gits-good: - echo {{git-good}} +hi: + echo {{ if git_status == "" { "git ok" } else { error("please commit changes first") } }} serve: open http://localhost:8080/index.html && miniserve pkg