ensure data directory is present in the repo

to ease running the app on checkout and in CI
This commit is contained in:
hrj 2021-04-19 18:51:20 +05:30
parent 9b978212dc
commit ed3afbc47e
3 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@ -17,5 +17,3 @@
/unknown/
/lib/fonts/
# for data/
/data

4
data/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@ -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