-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (33 loc) · 820 Bytes
/
Makefile
File metadata and controls
46 lines (33 loc) · 820 Bytes
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
include constants.mk
tag:
@echo "$(FACT_TAG)"
version:
@echo "$(FACT_VERSION)"
image-name:
@echo "$(FACT_IMAGE_NAME)"
mock-server:
make -C mock-server
image:
$(DOCKER) build \
-f Containerfile \
--build-arg FACT_VERSION=$(FACT_VERSION) \
--build-arg RUST_VERSION=$(RUST_VERSION) \
-t $(FACT_IMAGE_NAME) \
$(CURDIR)
licenses:THIRD_PARTY_LICENSES.html
THIRD_PARTY_LICENSES.html:Cargo.lock
cargo install cargo-about
cargo about generate --format handlebars -o THIRD_PARTY_LICENSES.html about_html.hbs
integration-tests:
make -C tests
performance-tests:
make -C performance-tests
clean:
make -C tests clean
format-check:
cargo fmt --check
make -C fact-ebpf format-check
format:
cargo fmt
make -C fact-ebpf format
.PHONY: tag mock-server integration-tests image image-name licenses clean