forked from equinor/webviz-archived
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (35 loc) · 877 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
projects = \
core/\
themes/default/\
visualizations/plotly\
visualizations/line_chart\
visualizations/bar_chart\
visualizations/pie_chart\
visualizations/tornado_plot\
visualizations/fan_chart\
visualizations/scatter_plot_matrix\
visualizations/map\
visualizations/histogram\
visualizations/scatter_plot\
visualizations/heat_map\
.PHONY: build lint test dev-install install doc
build:
for project in $(projects); do\
make build -C $$project || (echo 'error building' $$project; exit 1)\
done
lint:
for project in $(projects); do\
make lint -C $$project || exit 1;\
done
dev-install: build
make install ARGS=-e;\
test:
for project in $(projects); do\
make test -C $$project || exit 1;\
done
install: build
for project in $(projects); do\
make install ARGS="$(ARGS)" -C $$project || exit 1;\
done
doc:
cd docs && make html && cd ..