30 lines
577 B
Makefile
30 lines
577 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
|
|
|
|
pull-protocols:
|
|
git subtree pull -P packages/core/protocols \
|
|
-m 'Merge latest changes from the syndicate-protocols repository' \
|
|
git@git.syndicate-lang.org:syndicate-lang/syndicate-protocols \
|
|
main
|