Closed mjal closed 1 year ago
The clean
target in the surrounding Makefile removes the data
directory altogether. The mkdir -p
is done in the check
target, before calling the shell scripts. Isn't that sufficient? If not, I would rather go with adding -p
to the mkdir
calls in the scripts...
Oh now I understand... I wasn't using make and called the script directly
Running the
tests/tool/demo.sh
script fail when the data/ directory doesn't exist. The data/ directory is in .gitignore but an empty directory should exist for the script to succeed.We could:
git add -f
since it is ignored)mkdir -p
in the script instead.This PR is option 1