parallel npm installation

npm installation is taking too long,
it is preferable to process in parallel
while compiling some c++ source files.

Change-Id: Ie04726805723d94227806fb8b30c39909b84cb0f
Signed-off-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
Henry Castro 2021-05-22 10:29:59 -04:00
parent b9f71867c2
commit adbe58bded

View file

@ -10,7 +10,7 @@ endif
else
SUBDIRS = loleaflet . test cypress_test
SUBDIRS = . loleaflet test cypress_test
export ENABLE_DEBUG
@ -135,6 +135,8 @@ loolwsd_json = $(patsubst %.cpp,%.cmd,$(loolwsd_sources))
loolwsd_SOURCES = $(loolwsd_sources) \
$(shared_sources)
EXTRA_loolwsd_DEPENDENCIES = loleaflet/node_modules
noinst_PROGRAMS = clientnb \
connect \
lokitclient \
@ -581,3 +583,6 @@ $(abs_srcdir)/compile_commands.json: $(JSON_COMPILE_SRC)
@echo -n "]" >> $@
compile_commands: $(abs_srcdir)/compile_commands.json
loleaflet/node_modules: loleaflet/package.json loleaflet/archived-packages
@cd loleaflet && npm install