mark rewrite,restore tasks as internal

This commit is contained in:
Onyx and Iris 2025-02-12 18:26:43 +00:00
parent e4d87334cb
commit 1d8ffdc756

View File

@ -44,11 +44,13 @@ tasks:
cmd: poetry run pyinstaller --noconfirm --distpath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} spec/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.spec cmd: poetry run pyinstaller --noconfirm --distpath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} spec/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.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 - poetry run python tools/rewriter.py --rewrite
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
@ -72,6 +74,7 @@ tasks:
cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} -DestinationPath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.zip"' cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} -DestinationPath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.zip"'
clean: clean:
desc: Clean up build and dist directories
cmds: cmds:
- | - |
{{.SHELL}} -Command " {{.SHELL}} -Command "