-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (41 loc) · 938 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
45
46
47
48
49
SUBDIRS := \
utilities/backend_decorator \
utilities/node_activator \
utilities/spawn_co_elixir \
utilities/http_downloader \
backends/pelemay_backend \
backends/logging_backend \
benchmarks/onnx_to_axon_bench \
benchmarks/distributed_computing_bench
all: setup
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && mix compile); \
done
setup:
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && mix deps.get); \
done
test: all
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && mix test); \
done
format:
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && mix format); \
done
credo:
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && mix credo); \
done
dialyzer:
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && mix dialyzer); \
done
update:
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && mix deps.update --all); \
done
clean:
@for _dir in ${SUBDIRS}; do \
(cd $${_dir} && echo "Cleaning in $${_dir}" && mix clean); \
done