mirror of
https://github.com/touchHLE/touchHLE.git
synced 2026-01-31 01:25:24 +01:00
Allow passing initial arguments to cargo to lint.sh
Change-Id: I88e0a2adb2bfb5793ad6e31dd91f7a5ed1c7ab45
This commit is contained in:
@@ -18,7 +18,7 @@ printf '\e[32mNone found.\e[0m\n'
|
||||
set -ex
|
||||
|
||||
# "--deny warnings" ensures that warnings result in a non-zero exit status.
|
||||
cargo clippy -- --deny warnings
|
||||
cargo $@ clippy -- --deny warnings
|
||||
# "--document-private-items" has to be added again so the flag from
|
||||
# .cargo/config.toml isn't overridden
|
||||
RUSTDOCFLAGS="--deny warnings --document-private-items" cargo doc
|
||||
|
||||
Reference in New Issue
Block a user