make rewrite/restore tasks public

This commit is contained in:
onyx-and-iris 2026-03-09 21:37:59 +00:00
parent 262dcd572b
commit b0d7d734fb
2 changed files with 2 additions and 4 deletions

View File

@ -13,13 +13,13 @@ tasks:
cmd: poetry run pyinstaller --noconfirm --distpath dist/{{.ITEM.THEME}}-{{.ITEM.KIND}} spec/azure/{{.ITEM.THEME}}-{{.ITEM.KIND}}.spec cmd: poetry run pyinstaller --noconfirm --distpath dist/{{.ITEM.THEME}}-{{.ITEM.KIND}} spec/azure/{{.ITEM.THEME}}-{{.ITEM.KIND}}.spec
rewrite: rewrite:
internal: true #internal: true
desc: Run the source code rewriter desc: Run the source code rewriter
cmds: cmds:
- poetry run python tools/rewriter.py --rewrite --theme {{.THEME}} - poetry run python tools/rewriter.py --rewrite --theme {{.THEME}}
restore: restore:
internal: true #internal: true
desc: Restore the backup files desc: Restore the backup files
cmds: cmds:
- poetry run python tools/rewriter.py --restore - poetry run python tools/rewriter.py --restore

View File

@ -13,13 +13,11 @@ tasks:
cmd: poetry run pyinstaller --noconfirm --distpath dist/{{.ITEM.THEME}}-{{.ITEM.KIND}} spec/forest/{{.ITEM.THEME}}-{{.ITEM.KIND}}.spec cmd: poetry run pyinstaller --noconfirm --distpath dist/{{.ITEM.THEME}}-{{.ITEM.KIND}} spec/forest/{{.ITEM.THEME}}-{{.ITEM.KIND}}.spec
rewrite: rewrite:
internal: true
desc: Run the source code rewriter desc: Run the source code rewriter
cmds: cmds:
- poetry run python tools/rewriter.py --rewrite --theme {{.THEME}} - poetry run python tools/rewriter.py --rewrite --theme {{.THEME}}
restore: restore:
internal: true
desc: Restore the backup files desc: Restore the backup files
cmds: cmds:
- poetry run python tools/rewriter.py --restore - poetry run python tools/rewriter.py --restore