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
|
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" }
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
if `git status -s` == "" { error("please commit any changes first") }
|
||||||
just wasm
|
just wasm
|
||||||
git commit -am "release build"
|
git commit -am "release build"
|
||||||
git checkout release
|
git checkout release
|
||||||
|
@ -25,6 +27,9 @@ release:
|
||||||
git push
|
git push
|
||||||
git checkout {{from-branch}}
|
git checkout {{from-branch}}
|
||||||
|
|
||||||
|
ensure-gits-good:
|
||||||
|
echo {{git-good}}
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
open http://localhost:8080/index.html && miniserve pkg
|
open http://localhost:8080/index.html && miniserve pkg
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user