2021-04-26 13:13:30 +00:00
|
|
|
LERNA=./node_modules/.bin/lerna
|
|
|
|
|
2021-01-11 22:35:36 +00:00
|
|
|
bootstrap: node_modules/lerna
|
|
|
|
|
|
|
|
node_modules/lerna:
|
2021-04-26 13:13:30 +00:00
|
|
|
yarn install
|
2021-01-11 22:35:36 +00:00
|
|
|
$(MAKE) clean
|
|
|
|
+$(MAKE) -j$$(nproc) all
|
|
|
|
|
2021-01-23 22:38:00 +00:00
|
|
|
clean.local:
|
|
|
|
|
|
|
|
clean: clean.local
|
2021-04-26 13:13:30 +00:00
|
|
|
$(LERNA) exec 'yarn clean || true'
|
2021-01-19 23:48:27 +00:00
|
|
|
|
2021-01-23 22:38:00 +00:00
|
|
|
veryclean: clean.local
|
2021-04-26 13:13:30 +00:00
|
|
|
$(LERNA) exec 'yarn veryclean || true'
|
2021-01-20 00:09:22 +00:00
|
|
|
rm -rf node_modules
|
|
|
|
|
2021-04-26 13:13:30 +00:00
|
|
|
all:
|
|
|
|
$(LERNA) exec yarn prepare
|
2021-01-11 22:35:36 +00:00
|
|
|
|
|
|
|
watch:
|
|
|
|
inotifytest make -j$$(nproc) all
|