File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,10 +41,12 @@ jobs:
4141 cargo fmt --manifest-path rules/Cargo.toml -- --check
4242 cargo fmt --manifest-path rule-preprocessor/Cargo.toml -- --check
4343 cargo fmt --manifest-path libcc2rs/Cargo.toml -- --check
44+ cargo fmt --manifest-path libcc2rs-macros/Cargo.toml -- --check
4445 find tests -name '*.rs' -print0 | xargs -0 rustfmt --check
4546
4647 - name : Check Rust lints
4748 run : |
4849 cargo clippy --manifest-path rules/Cargo.toml --all-targets --all-features -- -Dwarnings
4950 cargo +nightly clippy --manifest-path rule-preprocessor/Cargo.toml --all-targets --all-features -- -Dwarnings
5051 cargo clippy --manifest-path libcc2rs/Cargo.toml --all-targets --all-features -- -Dwarnings
52+ cargo clippy --manifest-path libcc2rs-macros/Cargo.toml --all-targets --all-features -- -Dwarnings
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ add_custom_target("format"
100100 COMMAND rustup run ${RUST_STABLE_VERSION} cargo fmt --manifest-path ${PROJECT_SOURCE_DIR} /rules/Cargo.toml
101101 COMMAND rustup run ${RUST_STABLE_VERSION} cargo fmt --manifest-path ${PROJECT_SOURCE_DIR} /rule-preprocessor/Cargo.toml
102102 COMMAND rustup run ${RUST_STABLE_VERSION} cargo fmt --manifest-path ${PROJECT_SOURCE_DIR} /libcc2rs/Cargo.toml
103+ COMMAND rustup run ${RUST_STABLE_VERSION} cargo fmt --manifest-path ${PROJECT_SOURCE_DIR} /libcc2rs-macros/Cargo.toml
103104 DEPENDS "install-rust-toolchain"
104105 COMMENT "Running clang-format and cargo fmt on all source files"
105106 VERBATIM
You can’t perform that action at this time.
0 commit comments