-
Notifications
You must be signed in to change notification settings - Fork 82
/
Makefile
33 lines (26 loc) · 917 Bytes
/
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
.PHONY: html run-all test help
help:
@echo "Usage: make <option>"
@echo ""
@echo "Options:"
@echo " html generate the HTML documentation"
@echo " html-nohighlight generate HTML without syntax highlighting"
@echo " run-all run all examples"
@echo " test test the supporting software"
@echo " web-server display HTML on localhost:3000"
@echo " install-deps install dependencies required for examples"
html: install-deps
@echo "*** Generating HTML pages ***"
raku htmlify.pl
html-nohighlight: install-deps
@echo "*** Generating HTML pages (without syntax highlighting) ***"
raku htmlify.pl --no-highlight
run-all: install-deps
raku bin/run-examples.pl
web-server:
perl app.pl daemon
test: install-deps
prove --exec raku -r t
install-deps:
@echo "*** Installing dependencies ***"
zef --/test --test-depends --deps-only install .