-
Notifications
You must be signed in to change notification settings - Fork 402
/
Makefile
35 lines (29 loc) · 1009 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
34
35
DEFAULT:
@echo
@echo ' mapping -> build the mapping (implemented only).'
@echo ' full_mapping -> build the mapping (full).'
@echo ' unsupported_mapping -> build the mapping (unsupported).'
@echo
_dox:
@mkdir -p tmp
@./node_modules/.bin/dox -r < lib/webdriver.js > tmp/webdriver-dox.json
@./node_modules/.bin/dox -r < lib/element.js > tmp/element-dox.json
@./node_modules/.bin/dox -r < lib/commands.js > tmp/commands-dox.json
@./node_modules/.bin/dox -r < lib/element-commands.js > tmp/element-commands-dox.json
@./node_modules/.bin/dox -r < lib/main.js > tmp/main-dox.json
@./node_modules/.bin/dox -r < lib/asserters.js > tmp/asserters-dox.json
# build the mapping (implemented only)
mapping: _dox
@node doc/mapping-builder.js
# build the mapping (full)
full_mapping: _dox
@node doc/mapping-builder.js full
# build the mapping (unsupported)
unsupported_mapping: _dox
@node doc/mapping-builder.js unsupported
.PHONY: \
DEFAULT \
mapping \
full_mapping \
unsupported_mapping \
_dox