summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pin-project/ci.sh
blob: 016481d23b7ea4c256e1584dfcc3a34419b80142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

# A script to run a simplified version of the checks done by CI.
#
# Usage
#
# ```sh
# . ./ci.sh
# ```

echo "Running 'cargo fmt -- --check'"
cargo +nightly fmt --all -- --check

echo "Running 'cargo clippy'"
cargo +nightly clippy --all --all-features

echo "Running 'cargo test'"
cargo +nightly test --all --all-features

echo "Running 'cargo doc'"
cargo +nightly doc --no-deps --all --all-features

echo "Running 'compiletest'"
. ./compiletest.sh