mentat/scripts/build-doc.sh
Emily Toop 11f0497375 build and deploy swiftdoc using jazzy
Skip tests on deploy stage

push to specific pages api branch
2018-08-23 15:36:44 +01:00

7 lines
268 B
Bash
Executable file

#!/bin/bash
# if [[ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
cargo doc --all --no-deps --release && cp -r target/doc/* docs/apis/latest/rust
gem install jazzy
jazzy --source-directory sdks/swift/Mentat/ -o docs/apis/latest/swift
# fi