From 831ad507818aaf9c8eabdfae3c7bf13a54bbd55a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 18 Sep 2019 23:56:03 -0700 Subject: python codegen: don't clobber README every time --- python_openapi_client/.gitignore | 1 + python_openapi_client/codegen_python_client.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python_openapi_client/.gitignore b/python_openapi_client/.gitignore index a0bc258b..1c720747 100644 --- a/python_openapi_client/.gitignore +++ b/python_openapi_client/.gitignore @@ -1,3 +1,4 @@ +README.md.new .env codegen-out/ build/ diff --git a/python_openapi_client/codegen_python_client.sh b/python_openapi_client/codegen_python_client.sh index 978ee903..1058fd17 100755 --- a/python_openapi_client/codegen_python_client.sh +++ b/python_openapi_client/codegen_python_client.sh @@ -25,7 +25,7 @@ docker run \ sudo chown -R `whoami`:`whoami` $OUTPUT mkdir -p fatcat_openapi_client cp -r $OUTPUT/fatcat_openapi_client/* fatcat_openapi_client -cp $OUTPUT/README.md README.md +cp $OUTPUT/README.md README.md.new # I don't know what they were thinking with this TypeWithDefault stuff, but it # caused really gnarly config cross-contamination issues when running mulitple -- cgit v1.2.3