Travis: work around Clippy bug
This commit is contained in:
parent
dd9d892b8d
commit
798ed2279d
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ 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
|
# TODO add `maud_extras` back in when Clippy issue is fixed
|
||||||
|
# https://github.com/rust-lang-nursery/rust-clippy/issues/2594
|
||||||
|
for package in maud_htmlescape maud_macros maud maud_lints; do
|
||||||
(cd $package && cargo clippy -- -D warnings) || CLIPPY_STATUS=$?
|
(cd $package && cargo clippy -- -D warnings) || CLIPPY_STATUS=$?
|
||||||
done
|
done
|
||||||
(exit $CLIPPY_STATUS)
|
(exit $CLIPPY_STATUS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue