Skip the webapp/package.json
if it is missing (#130)
This commit is contained in:
parent
d9532472eb
commit
2dffc39e61
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -76,7 +76,7 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
## Ensures NPM dependencies are installed without having to run this all the time.
|
## 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),)
|
ifneq ($(HAS_WEBAPP),)
|
||||||
cd webapp && $(NPM) install
|
cd webapp && $(NPM) install
|
||||||
touch $@
|
touch $@
|
||||||
|
|
Reference in a new issue