Skip to content
Snippets Groups Projects
Commit 2a66e858 authored by Steven Fackler's avatar Steven Fackler
Browse files

Add a script to build docs with all features enabled

parent e85b49d3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set -e
export CARGO_TARGET_DIR=target
for toml in $(find . -maxdepth 2 -name "Cargo.toml"); do
cargo update --manifest-path $toml || true
features=$(cargo read-manifest --manifest-path $toml | jq -r '.features|keys|join(" ")')
cargo doc --verbose --no-deps --manifest-path $toml --features "$features"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment