Skip to content

Commit

Permalink
Merge pull request #526 from IvanUkhov/rustfmt
Browse files Browse the repository at this point in the history
Format the CLIs
  • Loading branch information
Byron authored Oct 7, 2024
2 parents 450748c + 0456e28 commit 276be42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/templates/deps.mako
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +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}
${'echo TODO make CLIs compile ' if gen_root.endswith('-cli') else ''}cargo fmt --manifest-path ${gen_root}/Cargo.toml
cargo fmt --manifest-path ${gen_root}/Cargo.toml
@touch $@

${api_target}: ${api_common}
Expand Down

0 comments on commit 276be42

Please sign in to comment.