Files
embbed-rust/ci/install.sh
Jorge Aparicio 4c004db265 add ci
2018-08-10 00:00:41 -05:00

16 lines
457 B
Bash

set -euxo pipefail
main() {
local tag=$(git ls-remote --tags --refs --exit-code https://github.com/rust-lang-nursery/mdbook \
| cut -d/ -f3 \
| grep -E '^v[0.1.0-9.]+$' \
| sort --version-sort \
| tail -n1)
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git rust-lang-nursery/mdbook --tag $tag
pip install linkchecker --user
}
main