mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Previously, we were using 8.0.0rc1. In particular, this upgrade means we need to explicitly import more rules, as they've been moved out of the core bazel repo.
23 lines
462 B
Python
23 lines
462 B
Python
load("@rules_python//python:defs.bzl", "py_test")
|
|
load("//swift:rules.bzl", "swift_cc_binary")
|
|
|
|
swift_cc_binary(
|
|
name = "assert-false",
|
|
srcs = ["AssertFalse.cpp"],
|
|
visibility = ["//swift:__pkg__"],
|
|
deps = [
|
|
"//swift/logging",
|
|
],
|
|
)
|
|
|
|
py_test(
|
|
name = "test",
|
|
size = "small",
|
|
srcs = ["test.py"],
|
|
data = [
|
|
"diagnostics.expected",
|
|
":assert-false",
|
|
],
|
|
deps = ["//swift/ql/integration-tests:utils"],
|
|
)
|