Fix node-template-release and make cargo doc faster (#3019)

This commit is contained in:
Bastian Köcher
2019-07-04 16:26:03 +02:00
committed by GitHub
parent fb8bb00158
commit ae80c05232
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ build-rust-doc-release:
<<: *build-only
script:
- rm -f ./crate-docs/index.html # use it as an indicator if the job succeeds
- time cargo +nightly doc --release --all --verbose
- BUILD_DUMMY_WASM_BINARY=1 time cargo +nightly doc --release --all --verbose
- cp -R ./target/doc ./crate-docs
- echo "<meta http-equiv=refresh content=0;url=substrate_service/index.html>" > ./crate-docs/index.html
- sccache -s