From 1eb7d77b5c468eea5b9baa96dbc2831b1ffa764d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 10 May 2020 13:44:19 -0700 Subject: FIXUP: codegen script --- rust/codegen_openapi2.sh | 5 +++-- 1 file 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" -- cgit v1.2.3