2021-06-04 13:51:09 +00:00
|
|
|
__ignored__ := $(shell ./setup.sh)
|
|
|
|
|
2020-04-27 18:27:48 +00:00
|
|
|
PACKAGES=syndicate syndicate-examples
|
|
|
|
COLLECTS=syndicate syndicate-examples
|
|
|
|
|
|
|
|
all: setup
|
|
|
|
|
|
|
|
clean:
|
|
|
|
find . -name compiled -type d | xargs rm -rf
|
|
|
|
find . -name '*.rkte' | xargs rm -rf
|
|
|
|
|
|
|
|
setup:
|
|
|
|
raco setup --check-pkg-deps --unused-pkg-deps $(COLLECTS)
|
|
|
|
|
|
|
|
link:
|
|
|
|
raco pkg install --link $(PACKAGES)
|
|
|
|
|
|
|
|
unlink:
|
|
|
|
raco pkg remove $(PACKAGES)
|
|
|
|
|
|
|
|
test: setup testonly
|
|
|
|
|
|
|
|
testonly:
|
|
|
|
raco test -p $(PACKAGES)
|
2021-07-01 07:55:45 +00:00
|
|
|
|
|
|
|
pull-protocols:
|
|
|
|
git subtree pull -P protocols \
|
|
|
|
-m 'Merge latest changes from the syndicate-protocols repository' \
|
|
|
|
git@git.syndicate-lang.org:syndicate-lang/syndicate-protocols \
|
|
|
|
main
|