Repository navigation
Expand file tree
/
Copy pathjustfile
More file actions
51 lines (40 loc) · 1.83 KB
/
Copy pathjustfile
File metadata and controls
51 lines (40 loc) · 1.83 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
#********************************************************************************
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License 2.0 which is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#*******************************************************************************/
#!/usr/bin/env just --justfile
# This is a justfile. It's a handy way to organize shell commands.
# Also see: https://just.systems/man/en/
set dotenv-load := true
set shell := ["/bin/bash", "-c", "-l"]
default:
@just --list
prepare:
uv sync
uv run conan remote add conancenter https://center2.conan.io --force
configure:
uv run conan install . -pr:b conan/profile_x86_64_Release.txt -pr:h conan/profile_x86_64_Release.txt --build=missing
build:
uv run conan build . -pr:b conan/profile_x86_64_Release.txt -pr:h conan/profile_x86_64_Release.txt
build-with-tests:
uv run conan build . -pr:b conan/profile_x86_64_Release.txt -pr:h conan/profile_x86_64_Release.txt --options "enable_unit_tests=True"
# run the unit test cases
run-unit-test:
ctest --test-dir build/Release/ -V
# Generate coverage report
run-coverage:
cmake --build build/Release --target coverage lcov_capture
# run the databroker in a seperate windows
run-databroker:
tmux new-window -n kuksa docker run --rm -it -p 55555:55555 -v $(pwd):/tmp ghcr.io/eclipse-kuksa/kuksa-databroker:main --insecure --vss /tmp/data/vss-core/vss_release_4.0.json
run-example-v2:
just run-databroker
tmux new-window -n example-v2 "./build/Release/bin/example_v2 || echo 'Process terminated. Press Enter to close.'; read"