syndicate-rkt/Makefile

35 lines
754 B
Makefile
Raw Normal View History

2021-06-04 13:51:09 +00:00
__ignored__ := $(shell ./setup.sh)
2023-02-06 15:31:04 +00:00
PACKAGES=syndicate syndicate-examples syndicate-msd
2020-04-27 18:27:48 +00:00
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
2023-02-08 18:39:40 +00:00
PROTOCOLS_BRANCH=main
2021-07-01 07:55:45 +00:00
pull-protocols:
git subtree pull -P syndicate/private/protocols \
2021-07-01 07:55:45 +00:00
-m 'Merge latest changes from the syndicate-protocols repository' \
git@git.syndicate-lang.org:syndicate-lang/syndicate-protocols \
2023-02-08 18:39:40 +00:00
$(PROTOCOLS_BRANCH)
2023-01-17 10:48:01 +00:00
fixcopyright:
-fixcopyright.rkt --preset-racket LGPL-3.0-or-later