mirror of
https://github.com/nushell/nushell.git
synced 2025-02-22 05:21:44 +01:00
Fail the build on warnings
This commit is contained in:
parent
154a45bbd6
commit
eec042d7e7
@ -29,7 +29,7 @@ steps:
|
||||
rustc -Vv
|
||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||
displayName: Install Rust
|
||||
- bash: cargo build
|
||||
- bash: RUSTFLAGS="-D warnings" cargo build
|
||||
displayName: Build source
|
||||
- bash: cargo test
|
||||
displayName: Run tests
|
||||
|
Loading…
Reference in New Issue
Block a user