Travis: don't use --manifest-path
for Clippy
For some reason, `cargo clippy` ignores the tests when run with the `--manifest-path` option.
This commit is contained in:
parent
c57d41e1a6
commit
bd228c01a9
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ script:
|
||||||
if command -v cargo-clippy > /dev/null; then
|
if command -v cargo-clippy > /dev/null; then
|
||||||
CLIPPY_STATUS=0
|
CLIPPY_STATUS=0
|
||||||
for package in maud_htmlescape maud_macros maud maud_lints maud_extras; do
|
for package in maud_htmlescape maud_macros maud maud_lints maud_extras; do
|
||||||
cargo clippy --manifest-path $package/Cargo.toml -- -D warnings || CLIPPY_STATUS=$?
|
(cd $package && cargo clippy -- -D warnings) || CLIPPY_STATUS=$?
|
||||||
done
|
done
|
||||||
(exit $CLIPPY_STATUS)
|
(exit $CLIPPY_STATUS)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue