From c21d6833efdd43c58e62a3d546c349df48150833 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 23 May 2018 18:27:22 -0700 Subject: tweak codegen docs --- rust/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rust') 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 -- cgit v1.2.3