Skip to content

Commit 76bcdc5

Browse files
committed
ENH: Improve pixi build tasks
Fewer, common targets for `build`. Rename build-paper to build-pdf and only include the PDF build targets.
1 parent 91a8e12 commit 76bcdc5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pixi.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,30 @@ jupyterlab = "*"
2020

2121
# Optional: for notebook execution
2222
ipykernel = "*"
23+
24+
# Build manuscript PDF
2325
typst = ">=0.13.1,<0.14"
2426

2527
[pypi-dependencies]
26-
# Image processing (ITK ecosystem)
28+
# ITK ecosystem
2729
itk = "*"
2830
simpleitk = "*"
2931

3032
[tasks]
3133
build-html = "myst build --html"
34+
# Does not require a LaTeX installation
3235
build-pdf = "myst build --typst"
36+
# Requires a LaTeX installation
3337
build-arxiv = "myst build --pdf"
3438
build-tex = "myst build --tex"
3539
build-docx = "myst build --docx"
3640
build-cff = "myst build --cff"
3741
build-meca = "myst build --meca"
3842

3943
# Combined tasks
40-
build = { depends-on = ["build-html", "build-pdf", "build-tex", "build-docx", "build-cff", "build-meca"] }
41-
build-paper = { depends-on = ["build-html", "build-pdf", "build-arxiv"] }
42-
build-complete = { depends-on = ["build-paper", "build-tex", "build-docx", "build-cff", "build-meca"] }
44+
build = { depends-on = ["build-html", "build-pdf", "build-cff"] }
45+
build-pdfs = { depends-on = ["build-pdf", "build-arxiv"] }
46+
build-complete = { depends-on = ["build-html", "build-pdfs", "build-tex", "build-docx", "build-cff", "build-meca"] }
4347

4448
# Build source code
4549
build-src = { cmd = "mkdir -p build && cd build && cmake ../src && make", cwd = "." }

0 commit comments

Comments
 (0)