Skip to content

Commit da32443

Browse files
auto-clippy after codegen
1 parent 5f3427e commit da32443

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

codegen.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ want cip25 && gen cip25 "$SPECS/cip25.cddl" --lib-name=cml-cip25 --json-
123123
# specs/multiera-byron/_CDDL_CODEGEN_EXTERN_DEPS_DIR_/ so it is not generated as a local module.
124124
named byron && gen multi-era "$SPECS/multiera-byron" --lib-name=cml-multi-era --json-serde-derives=true --json-schema-export=true "${OVERRIDE[@]}" "${WASM_MACROS[@]}"
125125

126+
echo "Running clippy --fix on the regenerated code..." >&2
127+
cargo clippy --fix --allow-dirty --allow-staged --workspace --all-features --all-targets
128+
126129
cat <<'EOF'
127130
128131
Done — sources regenerated in place. Review with git:

0 commit comments

Comments
 (0)