Skip to content

Commit

Permalink
feat(just/nix): add just book to serve the book
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed Oct 30, 2024
1 parent af4b220 commit ac5f43d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
pkgs.pkg-config
pkgs.rust-analyzer
pkgs.toml2json
pkgs.mdbook
rustfmt
rustc

Expand Down
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ _test:
test-review: (_ensure_command_in_path "cargo-insta" "Insta (https://insta.rs)")
cargo insta review

# Serve the book
book: (_ensure_command_in_path "mdbook" "mdBook (https://rust-lang.github.io/mdBook/)")
cd book && mdbook serve

# Check the coherency between issues labeled `marked-unimplemented` on GitHub and issues mentionned in the engine in the `Unimplemented {issue_id: ...}` errors.
@check-issues:
just _ensure_command_in_path jq "jq (https://jqlang.github.io/jq/)"
Expand Down

0 comments on commit ac5f43d

Please sign in to comment.