whatwg/html-build

`.cache` folder is not created by `build.sh`

Closed this issue · 1 comments

surma commented

I have a fresh clone and I am follwing the instructions. Running ./build.sh --docker fails with:

docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist:
/Users/surma/src/github.com/whatwg/html-build/.cache.

Creating .cache manually fixes the problem. Might be nice if the script did that for me.

Fascinating. This must be a Windows vs. Mac docker difference? I deleted my .cache folder and ran that exact command and it was created with no problem.

Would you be able to work on a pull request for this, since I can't really test it myself? I think moving clearCacheIfNecessary up to before the if [[ $USE_DOCKER == "true" ]] line would work.