human-string-filler version 1.0.0
[human-string-filler] / test
1 #!/bin/sh
2 set -e
3 export RUSTFLAGS="-D warnings"
4 export RUSTDOCFLAGS="-D warnings"
5 for release in "" "--release"; do
6 for subcommand in clippy test doc; do
7 cargo $subcommand $release
8 cargo $subcommand $release --no-default-features
9 cargo $subcommand $release --no-default-features --features alloc
10 done
11 done
12
13 RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo +nightly doc --all-features --no-deps