This commit is contained in:
10 files changed
+24
-24
No files matched your search
@@ -17,9 +17,9 @@ platforms = ["linux-64", "osx-arm64"]
|
||||
version = "0.1.0"
|
||||
|
||||
[dependencies]
|
||||
mojo = "==1.1.0" # for the Quarto views that run a page's Mojo on a real compiler (core/mojo/pin.json)
|
||||
nodejs = ">=26.10.0,<26.11" # building core and the site, and the tests
|
||||
python = ">=3.14.7,<3.15" # the dev server and the package script (standard library only)
|
||||
mojo = "==1.1.0" # for the Quarto views that run a page's Mojo on a real compiler (core/library/mojo/pin.json)
|
||||
nodejs = ">=26.10.0,<26.11" # building core and the site, and the tests
|
||||
python = ">=3.14.7,<3.15" # the dev server and the package script (standard library only)
|
||||
|
||||
[tasks]
|
||||
# --- build and test the site -----------------------------------------------
|
||||
@@ -34,7 +34,7 @@ test = { cmd = "node --test tests/*.test.mjs", depends-on = ["build"], descripti
|
||||
check-pages = { cmd = "node scripts/check-pages.mjs {{ dir }}", args = ["dir"], depends-on = ["build"], description = "Run every program embedded in the Quarto pages under <dir> (quarto/README.md)" }
|
||||
|
||||
# --- Quarto ------------------------------------------------------------------
|
||||
quarto-export = { cmd = "node scripts/quarto-export.mjs {{ name }} {{ dir }}", args = ["name", "dir"], depends-on = ["build"], description = "Copy core/mojo/local/<name>.mojo, its x86-64 and setup beside a Quarto page, and print the shortcode" }
|
||||
quarto-export = { cmd = "node scripts/quarto-export.mjs {{ name }} {{ dir }}", args = ["name", "dir"], depends-on = ["build"], description = "Copy core/library/mojo/local/<name>.mojo, its x86-64 and setup beside a Quarto page, and print the shortcode" }
|
||||
quarto-css = { cmd = "node scripts/quarto-css.mjs", depends-on = ["build"], description = "Regenerate the extension's generated files: pplus-views.css, pplus-hw.css, course/*.css and syntax/mojo.xml (from core)" }
|
||||
quarto-engine = { cmd = "node scripts/quarto-engine.mjs {{ dir }}", args = ["dir"], depends-on = ["build"], description = "Copy a built Programming+ (and core) into a site's _extensions/pplus/engine, for the rendered views (quarto/README.md)" }
|
||||
quarto-example = { cmd = "quarto render quarto", depends-on = ["build"], description = "Render the example site in quarto/example with every shortcode (needs Quarto on the PATH)" }
|
||||
|
||||
Reference in new issue
Block a user