Skip the webapp/package.json if it is missing (#130)

This commit is contained in:
Artur M. Wolff 2020-09-24 23:07:15 +02:00 committed by GitHub
parent d9532472eb
commit 2dffc39e61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ endif
endif
## Ensures NPM dependencies are installed without having to run this all the time.
webapp/node_modules: webapp/package.json
webapp/node_modules: $(wildcard webapp/package.json)
ifneq ($(HAS_WEBAPP),)
cd webapp && $(NPM) install
touch $@