aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-02-09 19:00:59 -0800
committerBryan Newbold <bnewbold@archive.org>2021-02-09 19:00:59 -0800
commit3745d1a550fa3fe15255e9493035279ad36bd009 (patch)
tree71253c2913bc23748f02ded6f794ae84978b48ba
parent19c582a3cf1c42e9c75170650ccd141eda903479 (diff)
downloadfatcat-cli-3745d1a550fa3fe15255e9493035279ad36bd009.tar.gz
fatcat-cli-3745d1a550fa3fe15255e9493035279ad36bd009.zip
update scripts for top-level directory
-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