-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
62 lines (45 loc) · 1.45 KB
/
Makefile
File metadata and controls
62 lines (45 loc) · 1.45 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
COMPILED_FILES:=js/vim9parser.js
all: $(COMPILED_FILES)
js/vim9parser.js: autoload/vim9parser.vim jscompiler.vim
scripts/jscompile.sh $< $@
clean_compiled:
$(RM) $(COMPILED_FILES)
.PHONY: test
test: test-tokenizer test-parser test-expr test-ast test-line-continuation test-compound test-string-interp test-error-recovery test-destructuring test-list-comp test-js
.PHONY: test-tokenizer
test-tokenizer:
vim -u NONE -N -S test/test_tokenizer.vim -c qa!
.PHONY: test-parser
test-parser:
vim -u NONE -N -S test/test_parser.vim -c qa!
.PHONY: test-expr
test-expr:
vim -u NONE -N -S test/test_expr.vim -c qa!
.PHONY: test-ast
test-ast:
vim -u NONE -N -S test/test.vim -c qa!
.PHONY: test-line-continuation
test-line-continuation:
vim -u NONE -N -S test/test_line_continuation.vim -c qa!
.PHONY: test-compound
test-compound:
vim -u NONE -N -S test/test_compound_assign.vim -c qa!
.PHONY: test-string-interp
test-string-interp:
vim -u NONE -N -S test/test_string_interpolation.vim -c qa!
.PHONY: test-error-recovery
test-error-recovery:
vim -u NONE -N -S test/test_error_recovery.vim -c qa!
.PHONY: test-destructuring
test-destructuring:
vim -u NONE -N -S test/test_destructuring.vim -c qa!
.PHONY: test-list-comp
test-list-comp:
vim -u NONE -N -S test/test_list_comprehension.vim -c qa!
.PHONY: test-js
test-js:
vim -u NONE -N -S test/test_js_compiler.vim -c qa!
.PHONY: clean
clean:
rm -rf htmlcov .coverage $(COMPILED_FILES)
.PHONY: all clean_compiled test