1
Fork 0

bin/build_docs shows docs path.

This commit is contained in:
Alex Helfet 2019-04-13 16:15:20 +01:00
parent 18c295391a
commit 0fa5c539fd

View file

@ -1,6 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -ex set -ex;
# Compute repo directory.
readonly repo_dir="$( cd $(dirname ${BASH_SOURCE})/..; pwd )";
rustup toolchain update nightly; rustup toolchain update nightly;
cargo +nightly doc -p framed --verbose --no-deps --features use_nightly; cargo +nightly doc -p framed --verbose --no-deps --features use_nightly;
echo "Docs built to file://${repo_dir}/target/doc/framed/index.html";