-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
45 lines (34 loc) · 1.17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
GUIXTM=guix time-machine -C ./rde/channels-lock.scm
GUILE=$(GUIXTM) -- shell guile-next guile-fibers -- guile
EMACS=$(GUIXTM) -- shell emacs emacs-ox-html-stable-ids -- emacs
HUT=$(GUIXTM) -- shell hut -- hut
GUIX=$(GUIXTM) --
GUILE_DEV=${GUILE} -L ./src/guile -L ./test/guile -L ./dev/guile
repl: server
server:
${GUILE_DEV} -c \
"((@ (ares server) run-nrepl-server))"
ares-rs: server
check:
${GUILE_DEV} \
-c "((@ (ares srfi-64 test-runners) run-project-tests))"
check-test:
${GUILE_DEV} \
-c "((@ (ares srfi-64 test-runners) run-test) \
(@@ (ares evaluation-test) test-evaluation-thread-manager))"
check-module:
${GUILE_DEV} \
-c "((@ (ares srfi-64 test-runners) run-module-tests) \
(resolve-module '${TEST_MODULE}))"
check-evaluation:
make check-module TEST_MODULE="(ares evaluation-test)"
check-bootstrap:
make check-module TEST_MODULE="(ares nrepl bootstrap-test)"
check-integration:
make check-module TEST_MODULE="(integration-test)"
README.html: README
${EMACS} -Q --batch -l docs/html-export-config.el README \
--funcall org-html-export-to-html
deploy-README.html: README.html
${HUT} git update --readme README.html \
--repo https://git.sr.ht/~abcdw/guile-ares-rs