24 lines
370 B
Makefile
24 lines
370 B
Makefile
LERNA=./node_modules/.bin/lerna
|
|
|
|
bootstrap: node_modules/lerna
|
|
|
|
node_modules/lerna:
|
|
yarn install
|
|
$(MAKE) clean
|
|
+$(MAKE) -j$$(nproc) all
|
|
|
|
clean.local:
|
|
|
|
clean: clean.local
|
|
$(LERNA) exec 'yarn clean || true'
|
|
|
|
veryclean: clean.local
|
|
$(LERNA) exec 'yarn veryclean || true'
|
|
rm -rf node_modules
|
|
|
|
all:
|
|
$(LERNA) exec yarn prepare
|
|
|
|
watch:
|
|
inotifytest make -j$$(nproc) all
|