diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-18 23:56:03 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-18 23:56:03 -0700 |
commit | 831ad507818aaf9c8eabdfae3c7bf13a54bbd55a (patch) | |
tree | ada99ec56b09fe0ba79842a5e1d9ad6a8c3a48bc | |
parent | 02daeaf2652383985bc4d31170d8180f58ce1b18 (diff) | |
download | fatcat-831ad507818aaf9c8eabdfae3c7bf13a54bbd55a.tar.gz fatcat-831ad507818aaf9c8eabdfae3c7bf13a54bbd55a.zip |
python codegen: don't clobber README every time
-rw-r--r-- | python_openapi_client/.gitignore | 1 | ||||
-rwxr-xr-x | python_openapi_client/codegen_python_client.sh | 2 |
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 |