Compare commits
4 Commits
44739adfe5
...
5a778d9a55
Author | SHA1 | Date | |
---|---|---|---|
|
5a778d9a55 | ||
|
62ad321a88 | ||
|
14a41dc1bd | ||
|
d9b095c3f3 |
10
justfile
10
justfile
|
@ -15,15 +15,17 @@ 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_status := `git status -s`
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
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}}
|
||||||
|
|
||||||
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