forked from Raku/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 905 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 905 Bytes
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 ***"
perl6 htmlify.pl
html-nohighlight: install-deps
@echo "*** Generating HTML pages (without syntax highlighting) ***"
perl6 htmlify.pl --no-highlight
run-all: install-deps
perl6 bin/run-examples.pl
web-server:
perl app.pl daemon
test: install-deps
prove --exec perl6 -r t
install-deps:
@echo "*** Installing dependencies ***"
zef --/test --depsonly install .