Skip to content

Commit

Permalink
docs: add documentation and embed in dist package + add updater comma…
Browse files Browse the repository at this point in the history
…nd in justfile

Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Mar 23, 2024
1 parent c30c84a commit 1c13a27
Show file tree
Hide file tree
Showing 6 changed files with 404 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,8 @@ install-dev-deps:
# Run cargo build with timings
# use `html` or `json` as ARGS
timings *ARGS:
cargo +nightly build --release --timings={{ARGS}} -Z unstable-options
cargo +nightly build --release --timings={{ARGS}} -Z unstable-options

update-docs:
xh get https://pace.cli.rs/docs/pace-user-docs.pdf -o docs/pace-user-docs.pdf
xh get https://pace.cli.rs/dev-docs/pace-dev-docs.pdf -o docs/pace-dev-docs.pdf
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ tap = "pace-rs/homebrew-tap"
publish-jobs = ["homebrew"]
# Whether to install an updater program
install-updater = true
# Include files in the dist package
include = [
"./config/",
"./docs/",
]

# see: https://nnethercote.github.io/perf-book/build-configuration.html
[profile.dev]
Expand Down
Loading

0 comments on commit 1c13a27

Please sign in to comment.