aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rwxr-xr-xcodegen_openapi.sh2
-rw-r--r--rust/.gitignore7
3 files changed, 8 insertions, 8 deletions
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