diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-05-10 13:44:19 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-05-10 13:44:19 -0700 |
commit | 1eb7d77b5c468eea5b9baa96dbc2831b1ffa764d (patch) | |
tree | a0192fd163dd0773d83d25359d2b6287d728f41f /rust/codegen_openapi2.sh | |
parent | 6d2f85a4157a158f0173f1e3d5c4227683b6382d (diff) | |
download | fatcat-1eb7d77b5c468eea5b9baa96dbc2831b1ffa764d.tar.gz fatcat-1eb7d77b5c468eea5b9baa96dbc2831b1ffa764d.zip |
FIXUP: codegen script
Diffstat (limited to 'rust/codegen_openapi2.sh')
-rwxr-xr-x | rust/codegen_openapi2.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rust/codegen_openapi2.sh b/rust/codegen_openapi2.sh index f93322ff..d815846b 100755 --- a/rust/codegen_openapi2.sh +++ b/rust/codegen_openapi2.sh @@ -36,6 +36,7 @@ rm -rf api/ echo "Running cargo-fmt (final time)..." cargo fmt -cp Cargo.toml Cargo.toml.new +cp Cargo.toml Cargo.toml.codegen git checkout Cargo.toml -echo "Make sure to review/merge fatcat-openapi/Cargo.toml by hand (compare with fatcat-openapi/Cargo.toml.new)" +diff Cargo.toml Cargo.toml.codegen && true +echo "Check the above diff for non-metadata changes to fatcat-openapi/Cargo.toml" |