summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-09-18 23:56:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-09-18 23:56:03 -0700
commit831ad507818aaf9c8eabdfae3c7bf13a54bbd55a (patch)
treeada99ec56b09fe0ba79842a5e1d9ad6a8c3a48bc
parent02daeaf2652383985bc4d31170d8180f58ce1b18 (diff)
downloadfatcat-831ad507818aaf9c8eabdfae3c7bf13a54bbd55a.tar.gz
fatcat-831ad507818aaf9c8eabdfae3c7bf13a54bbd55a.zip
python codegen: don't clobber README every time
-rw-r--r--python_openapi_client/.gitignore1
-rwxr-xr-xpython_openapi_client/codegen_python_client.sh2
2 files changed, 2 insertions, 1 deletions
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