summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/ci/build_and_test.bat
blob: 69dae1fff7b4d8f373e342fc10ee2584ec1f1809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set "RUSTFLAGS=-D warnings"
set "RUSTFMT_CI=1"

:: Print version information
rustc -Vv || exit /b 1
cargo -V || exit /b 1

:: Build and test main crate
cargo build --locked || exit /b 1
cargo test || exit /b 1

:: Build and test other crates
cd config_proc_macro || exit /b 1
cargo build --locked || exit /b 1
cargo test || exit /b 1