diff options
Diffstat (limited to 'src/tools/rustfmt/ci/build_and_test.bat')
-rwxr-xr-x | src/tools/rustfmt/ci/build_and_test.bat | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tools/rustfmt/ci/build_and_test.bat b/src/tools/rustfmt/ci/build_and_test.bat new file mode 100755 index 000000000..ef4101778 --- /dev/null +++ b/src/tools/rustfmt/ci/build_and_test.bat @@ -0,0 +1,14 @@ +set "RUSTFLAGS=-D warnings" + +:: 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 |