2021-12-02 23:55:42 +00:00
|
|
|
__ignored__ := $(shell ./setup.sh)
|
|
|
|
|
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
|
2021-12-01 15:27:06 +00:00
|
|
|
|
2023-02-08 18:39:14 +00:00
|
|
|
PROTOCOLS_BRANCH=main
|
2021-12-01 15:27:06 +00:00
|
|
|
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 \
|
2023-02-08 18:39:14 +00:00
|
|
|
$(PROTOCOLS_BRANCH)
|
2023-01-17 10:40:29 +00:00
|
|
|
|
|
|
|
fixcopyright:
|
2023-01-17 10:42:55 +00:00
|
|
|
-fixcopyright.rkt --preset-typescript --file-pattern 'packages/**.ts' GPL-3.0-or-later
|
|
|
|
-fixcopyright.rkt --preset-javascript --file-pattern 'packages/**.js' GPL-3.0-or-later
|