0.4: don't cross compile docs

This commit is contained in:
Jorge Aparicio 2019-09-15 22:05:17 +02:00
parent 42cac1fc51
commit e5324645e3

View file

@ -31,6 +31,7 @@ main() {
curl -L https://github.com/rtfm-rs/cortex-m-rtfm/archive/v${ver}.tar.gz | tar xz --strip-components 1 -C $src curl -L https://github.com/rtfm-rs/cortex-m-rtfm/archive/v${ver}.tar.gz | tar xz --strip-components 1 -C $src
pushd $src pushd $src
rm -f .cargo/config
cargo doc || cargo doc --features timer-queue cargo doc || cargo doc --features timer-queue
cp -r target/doc $td/$prefix/api cp -r target/doc $td/$prefix/api
sed 's|URL|rtfm/index.html|g' $root/redirect.html > $td/$prefix/api/index.html sed 's|URL|rtfm/index.html|g' $root/redirect.html > $td/$prefix/api/index.html