Last active
March 19, 2019 20:09
-
-
Save zesterer/f035a359ce5dd6a51f391e10ee4f4481 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
mdbook=https://github.com/rust-lang-nursery/mdBook/releases/download/v0.2.1/mdbook-v0.2.1-x86_64-unknown-linux-gnu.tar.gz | |
curl -Lo mdbook.tar.gz $mdbook | |
tar -xzvf mdbook.tar.gz | |
chmod u+x mdbook | |
curl https://sh.rustup.rs -sSf | sh -s - --default-toolchain nightly -y | |
source ~/.cargo/env | |
rm -rf target/ | |
rm -f Cargo.lock | |
cargo install mdbook | |
mdbook build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment