forked from elastic/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (33 loc) · 829 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
36
37
38
39
40
41
42
43
44
include common.mk
.PHONY: check
check: unit_test integration_test
.PHONY: unit_test
unit_test: style style_check test_check asciidoctor_check \
web_check template_check preview_check conf_check
.PHONY: style
style: build_docs
$(DOCKER) py_test pycodestyle build_docs
.PHONY: style_check
style_check:
$(MAKE) -C resources/style
.PHONY: test_check
test_check:
$(MAKE) -C resources/test
.PHONY: asciidoctor_check
asciidoctor_check:
$(MAKE) -C resources/asciidoctor
.PHONY: web_check
web_check:
$(MAKE) -C resources/web
.PHONY: template_check
template_check:
$(MAKE) -C template
.PHONY: preview_check
preview_check:
$(MAKE) -C preview
.PHONY: integration_test
integration_test:
$(MAKE) -C integtest
.PHONY: conf_check
conf_check: conf.yaml
$(DOCKER) py_test yamale -s schema.yaml conf.yaml --no-strict