feat: CLI generate shell build script (#1219)

* feat: CLI generate shell build script

* dev: update build script sample
This commit is contained in:
Myriad-Dreamin 2025-01-28 15:13:59 +08:00 committed by GitHub
parent b541daf50e
commit 0b4014be80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 255 additions and 6 deletions

View file

@ -0,0 +1,6 @@
# From file:docs/tinymist/book.typ to file:docs/tinymist/book.typ (pdf)
tinymist compile --save-lock --task 'file:docs/tinymist/book.typ' 'docs/tinymist/book.typ' --root '.' --format=pdf
# From file:docs/tinymist/ebook.typ to ebook-cover (svg)
tinymist compile --save-lock --task 'ebook-cover' 'docs/tinymist/ebook.typ' --root '.' --pages 1-1 --format=svg
# From file:docs/tinymist/ebook.typ to file:docs/tinymist/ebook.typ (pdf)
tinymist compile --save-lock --task 'file:docs/tinymist/ebook.typ' 'docs/tinymist/ebook.typ' --root '.' --format=pdf