-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile
37 lines (26 loc) · 1019 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
docker-image:
docker-compose build libswiftnav
docker: docker-image
docker-compose run libswiftnav
docker-build: docker-image
mkdir -p build
docker-compose run -T libswiftnav /bin/bash -c "cd build && cmake .. && make -j4"
docker-lint: docker-image
mkdir -p build
docker-compose run -T libswiftnav /bin/bash -c "cd build && cmake .. && make -j4 clang-format-all"
do-all-unit-tests:
bazel test --test_tag_filters=unit --test_output=all //...
do-all-integration-tests:
bazel test --test_tag_filters=integration --test_output=all //...
clang-format-all-check:
bazel build //... --config=clang-format-check
clang-format-all:
bazel run @rules_swiftnav//clang_format
clang-tidy-all-check:
bazel build //... --config=clang-tidy
do-code-coverage:
bazel coverage --test_tag_filters=unit --collect_code_coverage --combined_report=lcov //...
do-generate-coverage-report: do-code-coverage
genhtml bazel-out/_coverage/_coverage_report.dat -o coverage
gen-compile-commands:
bazel run //:gen_compile_commands