Only build doc(sets) for lib crates

This commit is contained in:
Matthias Beyer 2018-04-12 11:05:34 +02:00
parent 26e7f2cdba
commit 815052b1f7

View file

@ -6,7 +6,7 @@ CARGO=$(which cargo || exit 1)
RSDOCSDASHING=$(which rsdocs-dashing || exit 1)
DASHING=$(which dashing || exit 1)
$CARGO doc --all || exit 1
find lib -name "Cargo.toml" -exec $CARGO doc --manifest-path {} \; || exit 1
ls target/doc | grep imag | while read pkg; do
$RSDOCSDASHING target/doc/$pkg docset-$pkg