forked from driftregion/iso14229
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (19 loc) · 740 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (19 loc) · 740 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
all: static_analysis
MISRA_RULES_TXT = tools/cppcheck/misra_c_2023__headlines_for_cppcheck.txt
$(MISRA_RULES_TXT):
mkdir -p tools/cppcheck
wget -O $(MISRA_RULES_TXT) https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/tools/-/blob/main/misra_c_2012__headlines_for_cppcheck%20-%20AMD1+AMD2.txt
compile_commands.json:
bazel build //:iso14229 && bazel run //:lib_compile_commands
static_analysis: compile_commands.json $(MISRA_RULES_TXT)
tools/CodeChecker/run.sh
update_srcs:
tools/update_srcs.sh
coverage:
tools/canifup.sh
tools/coverage_run.sh
coverage-html:
tools/coverage_make_html.sh
coverage-upload:
./codecov upload-process -t $CODECOV_TOKEN
.phony: static_analysis compile_commands.json update_srcs coverage coverage-html