9fe19d8f31
* Added documentation to the `config` module * Added an example to the `config` module * Updated the docs in lib.rs regarding implementing backends * Started writing an alternate backends walkthrough * Mentioned the output.foo.command key * Added example output * Added a config section to the backends tutorial * Finished off the backends tutorial * Made sure travis checks mdbook-wordcount * Fixed the broken link at in the user guide * Changed how travis builds the project * Added a conclusion * Went through and documented a lot of stuff * Added a preprocessors chapter and updated For Developers
20 lines
382 B
Bash
20 lines
382 B
Bash
# This script takes care of testing your crate
|
|
|
|
set -ex
|
|
|
|
main() {
|
|
cross build --target $TARGET --all
|
|
cross build --target $TARGET --all --release
|
|
|
|
if [ ! -z $DISABLE_TESTS ]; then
|
|
return
|
|
fi
|
|
|
|
cross test --target $TARGET
|
|
cross test --target $TARGET --release
|
|
}
|
|
|
|
# we don't run the "test phase" when doing deploys
|
|
if [ -z $TRAVIS_TAG ]; then
|
|
main
|
|
fi |