mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Merge remote-tracking branch 'isis-github/bug22156'
This commit is contained in:
commit
ea6e17ca05
1 changed files with 14 additions and 0 deletions
14
Makefile.am
14
Makefile.am
|
@ -238,6 +238,20 @@ check-typos:
|
|||
echo "You can install the latest version of misspell here: https://github.com/client9/misspell#install"; \
|
||||
fi
|
||||
|
||||
.PHONY: clippy
|
||||
clippy:
|
||||
if USE_RUST
|
||||
@if test -x "`which cargo-clippy 2>&1;true`"; then \
|
||||
echo "Running cargo clippy ..."; \
|
||||
echo "Prepare yourself for the onslaught of suggestions ..."; \
|
||||
(cd "$(top_srcdir)/src/rust" && cargo clippy); \
|
||||
else \
|
||||
echo "Tor can use clippy to lint Rust code."; \
|
||||
echo "However, it seems that you don't have clippy installed."; \
|
||||
echo "You can install the latest version of clippy by following the directions here: https://github.com/rust-lang-nursery/rust-clippy"; \
|
||||
fi
|
||||
endif
|
||||
|
||||
.PHONY: check-changes
|
||||
check-changes:
|
||||
if USEPYTHON
|
||||
|
|
Loading…
Add table
Reference in a new issue