mirror of
https://github.com/github/codeql.git
synced 2026-05-14 19:29:28 +02:00
Add justfiles for C++ following the pattern of other ported languages (go, rust, swift). Move consistency queries from semmle-code's semmlecode-cpp-consistency-queries/ to ql/cpp/ql/consistency-queries/. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
12 lines
289 B
Makefile
12 lines
289 B
Makefile
import "../justfile"
|
|
|
|
base_flags := "--include-location-in-star"
|
|
|
|
all_checks := default_db_checks + """\
|
|
--check-undefined-labels \
|
|
--check-unused-labels \
|
|
--consistency-queries=""" + consistency_queries
|
|
|
|
[no-cd]
|
|
test *ARGS=".": (_codeql_test "cpp" base_flags all_checks ARGS)
|