Repository navigation
Expand file tree
/
Copy pathpixi.toml
More file actions
40 lines (34 loc) · 1.77 KB
/
Copy pathpixi.toml
File metadata and controls
40 lines (34 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[workspace]
channels = ["conda-forge"]
name = "eb-stack"
platforms = ["linux-64"]
version = "0.7.4"
[dependencies]
[feature.dev.tasks]
test = { cmd = "cargo test --locked --all-targets", description = "Full locked test gate" }
fmt-check = { cmd = "cargo fmt --all --check", description = "Rust formatting check" }
clippy = { cmd = "cargo clippy --locked --all-targets -- -D warnings", description = "Clippy with warnings as errors" }
prek = { cmd = "prek run -a", description = "Run all prek hooks" }
check = { cmd = "cargo fmt --all --check && cargo clippy --locked --all-targets -- -D warnings && cargo test --locked --lib", description = "fmt + clippy + lib tests" }
package = { cmd = "cargo package --locked", description = "Source package dry-run for crates.io" }
[feature.docs.dependencies]
python = ">=3.12,<4"
emacs = ">=30.2,<31"
graphviz = ">=12,<13"
[feature.docs.pypi-dependencies]
shibuya = ">=2025.12.13, <2026"
sphinx = ">=9.0.4, <10"
sphinx-sitemap = ">=2.9.0, <3"
sphinx-copybutton = ">=0.5.2, <1"
sphinx-design = ">=0.6.0, <1"
[feature.docs.tasks]
mkrst = { cmd = "emacs -Q --batch --load export.el", cwd = "docs" }
# Rust API: host-cargo sphinx-rustdocgen keeps native linking outside the pixi environment.
gen-rust-api = { cmd = "bash scripts/gen-rust-api.sh", description = "Generate docs/source/crates/eb_stack via sphinx-rustdocgen" }
sphinxbld = { cmd = "bash scripts/sphinx-build-docs.sh", depends-on = ["mkrst", "gen-rust-api"] }
docbld = { depends-on = ["sphinxbld"] }
docdel = { cmd = "rm -rf build source/*.rst source/**/*.rst source/crates 2>/dev/null; true", cwd = "docs" }
linkcheck = { cmd = "lychee --config lychee.toml --no-progress 'docs/build/**/*.html' README.md" }
[environments]
dev = { features = ["dev"], solve-group = "default" }
docs = { features = ["docs"] }