From 3745d1a550fa3fe15255e9493035279ad36bd009 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 9 Feb 2021 19:00:59 -0800 Subject: update scripts for top-level directory --- .gitignore | 7 +++++++ codegen_openapi.sh | 2 +- rust/.gitignore | 7 ------- 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 rust/.gitignore diff --git a/.gitignore b/.gitignore index 699ed45..67f44b1 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,13 @@ _build/ src/build/ *.log +.env +target/ +bin/ +fatcat-*.tar.gz +*.jar + +!.cargo !.gitlab-ci.yml !.travis.yml diff --git a/codegen_openapi.sh b/codegen_openapi.sh index 5c14a95..94a5457 100755 --- a/codegen_openapi.sh +++ b/codegen_openapi.sh @@ -6,7 +6,7 @@ set -o pipefail echo "Running openapi-generator..." OUTPUT=`pwd`/fatcat-openapi mkdir -p $OUTPUT -cat ../fatcat-openapi3.yml | grep -v "TAGLINE$" | perl -0777 -pe "s/<\!-- STARTLONGDESCRIPTION -->.*<\!-- ENDLONGDESCRIPTION -->//s" > $OUTPUT/api.yaml +cat ./fatcat-openapi3.yml | grep -v "TAGLINE$" | perl -0777 -pe "s/<\!-- STARTLONGDESCRIPTION -->.*<\!-- ENDLONGDESCRIPTION -->//s" > $OUTPUT/api.yaml export OPENAPI_GENERATOR_VERSION=5.0.0 ./openapi-generator-cli.sh \ diff --git a/rust/.gitignore b/rust/.gitignore deleted file mode 100644 index 8462d08..0000000 --- a/rust/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -.env -target/ -bin/ -fatcat-*.tar.gz -*.jar - -!.cargo -- cgit v1.2.3