summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-23 18:27:22 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 15:21:32 -0700
commitc21d6833efdd43c58e62a3d546c349df48150833 (patch)
tree7350bd9e9b74d850836a5e944bd5dfd2797558a1 /rust
parent11b1c4359779b4c9a7437af53028430f8372b287 (diff)
downloadfatcat-c21d6833efdd43c58e62a3d546c349df48150833.tar.gz
fatcat-c21d6833efdd43c58e62a3d546c349df48150833.zip
tweak codegen docs
Diffstat (limited to 'rust')
-rw-r--r--rust/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/README.md b/rust/README.md
index bec73793..618f6971 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -31,7 +31,10 @@ Regenerate API schemas:
cargo install cargo-swagger # uses docker
cargo swagger fatcat-openapi2.yml fatcat-api --docker-tag=v2.3.1
sudo chown `whoami`:`whoami` -R fatcat-api
- # edit fatcat-api/Cargo.toml, set name to "fatcat-api"
+
+ # usually want to keep our changes to sub-module toml
+ git checkout fatcat-api/Cargo.toml
+
cargo fmt
# git commit the fatcat-api directory at this point