ci: update deployment for doc rearrangement

This fixes CI to handle the new documentation files. We also continue to
do more cleanup. In particular, we devise a nicer way of detecting the
most recent Cargo OUT_DIR by writing a dummy file, and looking for the
most recently modified version of that file.
This commit is contained in:
Andrew Gallant
2018-02-10 10:30:35 -05:00
parent 904c75bd30
commit 09c5b2c4ea
7 changed files with 81 additions and 37 deletions

View File

@@ -22,6 +22,14 @@ install_targets() {
fi
}
install_osx_dependencies() {
if ! is_osx; then
return
fi
brew install asciidoc
}
configure_cargo() {
local prefix=$(gcc_prefix)
if [ -n "${prefix}" ]; then
@@ -44,6 +52,7 @@ EOF
}
main() {
install_osx_dependencies
install_rustup
install_targets
configure_cargo