Skip to content

Commit

Permalink
Add depends-on build-lite to serve
Browse files Browse the repository at this point in the history
* Add inputs and outputs to cache intermediate builds.
  • Loading branch information
matthewfeickert committed Jan 9, 2025
1 parent e0b92f7 commit dca67ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ jupyter lite init && \
jupyter lite build --contents=book && \
jupyter lite check
"""
inputs = ["lite/jupyterlite.py"]
outputs = ["_output"]

[feature.jupyterlite.tasks.serve]
description = "Serve the built JupyterLite page"
cmd = "jupyter lite serve"
depends-on = ["build-lite"]

[feature.jupyterlite.tasks.clean-lite]
description = "Remove the JupyterLite outputs"
Expand Down

0 comments on commit dca67ce

Please # to comment.