From ed3afbc47ef05d4fd9ccbfe824a08a329a1a5f5c Mon Sep 17 00:00:00 2001 From: hrj Date: Mon, 19 Apr 2021 18:51:20 +0530 Subject: [PATCH] ensure data directory is present in the repo to ease running the app on checkout and in CI --- .gitignore | 2 -- data/.gitignore | 4 ++++ tests/run.sh | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 data/.gitignore diff --git a/.gitignore b/.gitignore index a77ff3e..6e85dc3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,5 +17,3 @@ /unknown/ /lib/fonts/ -# for data/ -/data diff --git a/data/.gitignore b/data/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/data/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/tests/run.sh b/tests/run.sh index 0a81ad4..b26a54b 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -3,6 +3,7 @@ set -ex python3 -m venv testEnv source ./testEnv/bin/activate pip install locust +mkdir -p data/ java -jar target/scala-2.13/LibreCaptcha.jar & JAVA_PID=$! sleep 4