forked from extern/nushell
Merge pull request #318 from twe4ked/fail-build-on-warning
Fail the build on warnings
This commit is contained in:
commit
fbc4749ef7
@ -29,7 +29,7 @@ steps:
|
|||||||
rustc -Vv
|
rustc -Vv
|
||||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||||
displayName: Install Rust
|
displayName: Install Rust
|
||||||
- bash: cargo build
|
- bash: RUSTFLAGS="-D warnings" cargo build
|
||||||
displayName: Build source
|
displayName: Build source
|
||||||
- bash: cargo test
|
- bash: cargo test
|
||||||
displayName: Run tests
|
displayName: Run tests
|
||||||
|
Loading…
Reference in New Issue
Block a user