Skip to content

Commit 08c0d35

Browse files
committed
ENH: Build task consolidation
Support pixi run build as a default that works without a LaTeX distribution.
1 parent b890c8a commit 08c0d35

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

pixi.toml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,22 @@ build-docx = "myst build --docx"
3636
build-cff = "myst build --cff"
3737
build-meca = "myst build --meca"
3838

39-
# Start development server
40-
serve = "myst start"
41-
42-
# Clean build artifacts
43-
clean = "myst clean"
44-
45-
# Development and testing
46-
dev = { depends-on = ["serve"] }
47-
lint = "myst check"
39+
# 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"] }
4843

4944
# Build source code
5045
build-src = { cmd = "mkdir -p build && cd build && cmake ../src && make", cwd = "." }
5146
test-src = { cmd = "cd build && ctest", cwd = ".", depends-on = ["build-src"] }
5247

53-
# Combined tasks
54-
build = { depends-on = ["build-html", "build-pdf", "build-tex", "build-docx", "build-cff", "build-meca"] }
55-
build-paper = { depends-on = ["build-html", "build-pdf", "build-arxiv"] }
56-
build-complete = { depends-on = ["build-paper", "build-tex", "build-docx", "build-cff", "build-meca"] }
48+
# Start development server
49+
start = "myst start"
50+
# Alias
51+
dev = { depends-on = ["serve"] }
52+
53+
# Clean build artifacts
54+
clean = "myst clean"
5755

5856
[feature.cmake.dependencies]
5957
cmake = "*"

0 commit comments

Comments
 (0)