-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile
167 lines (123 loc) · 4.86 KB
/
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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
SHELL := /bin/bash
export PATH := $(PWD)/node_modules/.bin:$(PATH)
export NODE_PATH = ./
MOCHA_CMD = mocha --require @babel/register
test_extract_gettext:
$(MOCHA_CMD) ./tests/functional/test_extract_gettext_simple.js
test_extract_fn_gettext:
$(MOCHA_CMD) ./tests/functional/test_extract_fn_gettext.js
test_extract_gettext_with_formatting:
$(MOCHA_CMD) ./tests/functional/test_extract_gettext_with_formatting.js
test_extract_filename:
$(MOCHA_CMD) ./tests/functional/test_extract_filename.js
test_extract_developer_comments:
$(MOCHA_CMD) ./tests/functional/test_extract_developer_comments.js
test_extract_developer_comments_by_tag:
$(MOCHA_CMD) ./tests/functional/test_extract_developer_comments_by_tag.js
test_extract_ngettext:
$(MOCHA_CMD) ./tests/functional/test_extract_ngettext.js
test_resolve_gettext:
$(MOCHA_CMD) ./tests/functional/test_resolve_gettext.js
test_resolve_gettext_default:
$(MOCHA_CMD) ./tests/functional/test_resolve_gettext_default.js
test_resolve_default:
$(MOCHA_CMD) ./tests/functional/test_resolve_default.js
test_resolve_strip_polyglot_tags:
$(MOCHA_CMD) ./tests/functional/test_resolve_strip_polyglot_tags.js
test_resolve_jsxtag_gettext:
$(MOCHA_CMD) ./tests/functional/test_resolve_jsxtag_gettext.js
test_resolve_ngettext:
$(MOCHA_CMD) ./tests/functional/test_resolve_ngettext.js
test_resolve_ngettext_default:
$(MOCHA_CMD) ./tests/functional/test_resolve_ngettext_default.js
test_resolve_ngettext_default_for_locale:
$(MOCHA_CMD) ./tests/functional/test_resolve_ngettext_default_for_locale.js
test_resolve_fn_gettext:
$(MOCHA_CMD) ./tests/functional/test_resolve_fn_gettext.js
test_resolve_when_validation_fails:
$(MOCHA_CMD) ./tests/functional/test_resolve_when_validation_fails.js
test_alias_resolve:
$(MOCHA_CMD) ./tests/functional/test_alias_resolve.js
test_alias_discover:
$(MOCHA_CMD) ./tests/functional/test_alias_discover.js
test_unresolved:
$(MOCHA_CMD) ./tests/functional/test_unresolved.js
test_po_resolve:
$(MOCHA_CMD) ./tests/functional/test_po_resolve.js
test_disabled_scope:
$(MOCHA_CMD) ./tests/functional/test_disabled_scope.js
test_unit:
$(MOCHA_CMD) ./tests/unit/**/*.js
test_entries_sort:
$(MOCHA_CMD) ./tests/functional/test_entries_sort.js
test_entries_sort_by_msgctxt:
$(MOCHA_CMD) ./tests/functional/test_entries_sort_by_msgctxt.js
test_sorted_entries_sort:
$(MOCHA_CMD) ./tests/functional/test_sorted_entries_sort.js
test_sorted_entries_without_reference_line_num:
$(MOCHA_CMD) ./tests/functional/test_sorted_entries_without_reference_line_num.js
test_empty_config:
$(MOCHA_CMD) ./tests/functional/test_empty_config_mode.js
test_contexts_extract:
$(MOCHA_CMD) ./tests/functional/test_contexts_extract.js
test_contexts_extract_from_file:
$(MOCHA_CMD) ./tests/functional/test_contexts_extract_from_file.js
test_resolve_contexts:
$(MOCHA_CMD) ./tests/functional/test_resolve_contexts.js
test_extract_numbered_expressions:
$(MOCHA_CMD) ./tests/functional/test_extract_numbered_expressions.js
test_resolve_numbered_expressions:
$(MOCHA_CMD) ./tests/functional/test_resolve_numbered_expressions.js
test_discover_by_require:
$(MOCHA_CMD) ./tests/functional/test_discover_by_require.js
test_macro_resolve:
$(MOCHA_CMD) ./tests/functional/test_macro_resolve.js
test_macro_extract:
$(MOCHA_CMD) ./tests/functional/test_macro_extract.js
test_npm_specifiers_extract:
$(MOCHA_CMD) ./tests/functional/test_npm_specifiers_extract.js
test_alias_extract:
$(MOCHA_CMD) ./tests/functional/test_alias_extract.js
test_extract_js_format:
$(MOCHA_CMD) ./tests/functional/test_extract_js_format.js
test_fun: test_extract_gettext
test_fun: test_extract_fn_gettext
test_fun: test_extract_gettext_with_formatting
test_fun: test_extract_filename
test_fun: test_extract_developer_comments
test_fun: test_extract_developer_comments_by_tag
test_fun: test_extract_ngettext
test_fun: test_resolve_gettext
test_fun: test_resolve_gettext_default
test_fun: test_resolve_default
test_fun: test_resolve_strip_polyglot_tags
test_fun: test_resolve_ngettext_default_for_locale
test_fun: test_resolve_ngettext
test_fun: test_resolve_ngettext_default
test_fun: test_resolve_jsxtag_gettext
test_fun: test_po_resolve
test_fun: test_unresolved
test_fun: test_resolve_fn_gettext
test_fun: test_alias_resolve
test_fun: test_disabled_scope
test_fun: test_resolve_when_validation_fails
test_fun: test_alias_discover
test_fun: test_entries_sort
test_fun: test_entries_sort_by_msgctxt
test_fun: test_sorted_entries_sort
test_fun: test_empty_config
test_fun: test_contexts_extract
test_fun: test_resolve_contexts
test_fun: test_contexts_extract_from_file
test_fun: test_extract_numbered_expressions
test_fun: test_resolve_numbered_expressions
test_fun: test_discover_by_require
test_fun: test_macro_resolve
test_fun: test_macro_extract
test_fun: test_alias_extract
test_fun: test_extract_js_format
test_fun: test_npm_specifiers_extract
test: test_fun
test: test_unit
lint:
npm run lint