-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathMakefile
More file actions
92 lines (78 loc) · 2.48 KB
/
Makefile
File metadata and controls
92 lines (78 loc) · 2.48 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
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
# Copyright (C) 2025 Intel Corporation
# LIMITED EDGE SOFTWARE DISTRIBUTION LICENSE
.PHONY: build list-image list-umbrella-chart clean push static-code-analysis tests test-unit test-integration test-component
.DEFAULT_GOAL := build
PROJECTS = interactive_ai platform web_ui web_ui/dex_templates
DISTRIB_CHARTS := deploy/charts interactive_ai/migration_job
build-image:
echo "Building images for all projects..."
@for dir in $(PROJECTS); do \
echo "Running make build-image in $$dir..."; \
$(MAKE) -C $$dir build-image; \
done
build-chart:
echo "Building charts for all projects..."
@for dir in $(PROJECTS); do \
echo "Running make build-chart in $$dir..."; \
$(MAKE) -C $$dir build-chart; \
done
build-umbrella-chart: build-chart
@for dir in $(DISTRIB_CHARTS); do \
echo "Building umbrella charts in $$dir..."; \
$(MAKE) -C $$dir clean build-chart; \
done
clean:
echo "Cleaning all projects..."
@for dir in $(PROJECTS) $(DISTRIB_CHARTS); do \
echo "Running make clean in $$dir..."; \
$(MAKE) -C $$dir clean; \
done
list-image:
@for dir in $(PROJECTS); do \
$(MAKE) -C $$dir list-image; \
done
list-umbrella-chart:
@for dir in $(DISTRIB_CHARTS); do \
$(MAKE) -C $$dir list-umbrella-chart; \
done
publish-image:
echo "Pushing all projects..."
@for dir in $(PROJECTS); do \
echo "Running make publish-image in $$dir..."; \
$(MAKE) -C $$dir publish-image; \
done
publish-umbrella-chart: build-umbrella-chart
@for dir in $(DISTRIB_CHARTS); do \
echo "Publishing umbrella charts in $$dir..."; \
$(MAKE) -C $$dir publish-chart; \
done
static-code-analysis:
echo "Running static code analysis for all projects..."
@for dir in $(PROJECTS); do \
echo "Running make static-code-analysis in $$dir..."; \
$(MAKE) -C $$dir static-code-analysis; \
done
tests:
echo "Running tests for all projects..."
@for dir in $(PROJECTS); do \
echo "Running make tests in $$dir..."; \
$(MAKE) -C $$dir tests; \
done
test-unit:
echo "Running unit tests for all projects..."
@for dir in $(PROJECTS); do \
echo "Running make test-unit in $$dir..."; \
$(MAKE) -C $$dir test-unit; \
done
test-integration:
echo "Running integration tests for all projects..."
@for dir in $(PROJECTS); do \
echo "Running make test-integration in $$dir..."; \
$(MAKE) -C $$dir test-integration; \
done
test-component:
echo "Running component tests for all projects..."
@for dir in $(PROJECTS); do \
echo "Running make test-component in $$dir..."; \
$(MAKE) -C $$dir test-component; \
done