Skip to content

Commit

Permalink
Use find for deeper search
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Levick <[email protected]>
  • Loading branch information
rylev committed Oct 13, 2023
1 parent 47a591e commit d574160
Show file tree
Hide file tree
Showing 2 changed files with 209 additions and 60 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ lint: lint-rust-examples-and-testcases

.PHONY: lint-rust-examples-and-testcases
lint-rust-examples-and-testcases:
for manifest_path in examples/*/Cargo.toml tests/testcases/*/Cargo.toml; do \
for manifest_path in $$(find examples tests/testcases -name Cargo.toml); do \
cargo clippy --manifest-path "$${manifest_path}" -- -D warnings \
&& cargo fmt --manifest-path "$${manifest_path}" -- --check \
|| exit 1 ; \
Expand Down
Loading

0 comments on commit d574160

Please sign in to comment.