-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (15 loc) · 518 Bytes
/
Copy pathMakefile
File metadata and controls
20 lines (15 loc) · 518 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: all compile test lint-docs clean
all: compile
compile:
rebar3 compile
test:
rebar3 ct --readable=compact
# Validate fenced code blocks in README.md and docs/*.md.
# Erlang `py:Fn(...)` calls must reference a real export at the right
# arity; Python blocks must parse (IndentationError tolerated for
# tutorial fragments). Mark a block to skip with `<!-- skip-lint -->`
# on the line immediately above the opening fence.
lint-docs: compile
escript scripts/lint_doc_snippets.escript
clean:
rebar3 clean