Skip to content

Commit

Permalink
Use depends-on.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtilly committed Jan 14, 2025
1 parent 3882128 commit 755a6fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ test = "pytest tests --doctest-modules src"

[feature.docs.tasks]
make-docs = "cd docs && make html"
serve-docs = { cmd = "python -m http.server --directory docs/_build/html", depends_on = ["make-docs"] }
readthedocs = { cmd = "rm -rf $READTHEDOCS_OUTPUT/html && cp -r docs/_build/html $READTHEDOCS_OUTPUT/html", depends_on = ["make-docs"] }
serve-docs = { cmd = "python -m http.server --directory docs/_build/html", depends-on = ["make-docs"] }
readthedocs = { cmd = "rm -rf $READTHEDOCS_OUTPUT/html && cp -r docs/_build/html $READTHEDOCS_OUTPUT/html", depends-on = ["make-docs"] }

[feature.benchmark.tasks.benchmark-generate-matrices]
cmd = "python src/tabmat/benchmark/generate_matrices.py"
Expand All @@ -38,7 +38,7 @@ outputs = [
]
[feature.benchmark.tasks.benchmark-run]
cmd = "python src/tabmat/benchmark/main.py --include_baseline --bench_memory --n_iterations 100"
depends_on = ["benchmark-generate-matrices"]
depends-on = ["benchmark-generate-matrices"]
inputs = [
"src/tabmat/benchmark/main.py",
"benchmark/data/dense_cat_data.pkl",
Expand All @@ -62,7 +62,7 @@ outputs = [
]
[feature.benchmark.tasks.benchmark-visualize]
cmd = "python src/tabmat/benchmark/visualize_benchmarks.py"
depends_on = ["benchmark-run"]
depends-on = ["benchmark-run"]
inputs = [
"src/tabmat/benchmark/visualize_benchmarks.py",
"benchmark/data/dense_cat_bench.csv",
Expand Down

0 comments on commit 755a6fe

Please sign in to comment.