Skip to content

Commit

Permalink
Run cargo fmt upon generation
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Oct 3, 2024
1 parent 6d3710f commit 07a4d62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/generator/templates/deps.mako
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ ${api_common}: ${gen_root_stamp}
${gen_root_stamp}: $(MAKO_RENDER) ${' '.join(i[0] for i in sds)} ${api_json_inputs} $(MAKO_STANDARD_DEPENDENCIES)
@echo Generating ${api_target}
$(MAKO) -io ${' '.join("%s=%s" % (s, d) for s, d in sds)} ${post_processor_arg} --data-files ${api_json_inputs}
cargo fmt --manifest-path ${gen_root}/Cargo.toml
@touch $@

${api_target}: ${api_common}
Expand Down

0 comments on commit 07a4d62

Please sign in to comment.