File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ default :
2+ @ just --list
3+
4+ # Override this value by calling `just --set clang_version 18`
5+ clang_version := " 15"
6+
17prepare :
28 cargo install gen-compile-commands
39
@@ -6,3 +12,15 @@ compile-commands:
612
713clean :
814 rm -f compile_commands.json
15+
16+ build * args = " //...":
17+ bazel build {{ args}} --action_env=CC=clang-{{ clang_version}} --action_env=CXX=clang++ -{{ clang_version}}
18+
19+ build-asan * args = " //...":
20+ just build {{ args}} --config=asan --sandbox_debug
21+
22+ test * args = " //...":
23+ bazel test {{ args}} --action_env=CC=clang-{{ clang_version}} --action_env=CXX=clang++ -{{ clang_version}} --test_env=LLVM_SYMBOLIZER=llvm-symbolizer-{{ clang_version}}
24+
25+ test-asan * args = " //...":
26+ just test {{ args}} --config=asan
You can’t perform that action at this time.
0 commit comments