Navigation Menu

Skip to content

Commit

Permalink
Add doc build script
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Dec 21, 2015
1 parent 4dc0696 commit 663a91e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build_docs.sh
@@ -0,0 +1,10 @@
#!/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 --no-deps --manifest-path $toml --features "$features"
done

0 comments on commit 663a91e

Please sign in to comment.