bin/build_docs shows docs path.
This commit is contained in:
parent
18c295391a
commit
0fa5c539fd
1 changed files with 6 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue