keep justing
This commit is contained in:
parent
44739adfe5
commit
d9b095c3f3
5
justfile
5
justfile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user