mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Swift: simplify Bazel a bit
This commit is contained in:
@@ -24,15 +24,8 @@ pkg_files(
|
||||
)
|
||||
|
||||
pkg_files(
|
||||
name = "qltest",
|
||||
srcs = ["tools/qltest.sh"],
|
||||
attributes = pkg_attributes(mode = "0755"),
|
||||
prefix = "tools",
|
||||
)
|
||||
|
||||
pkg_files(
|
||||
name = "autobuild",
|
||||
srcs = ["tools/autobuild.sh"],
|
||||
name = "scripts",
|
||||
srcs = ["tools/qltest.sh", "tools/autobuild.sh"],
|
||||
attributes = pkg_attributes(mode = "0755"),
|
||||
prefix = "tools",
|
||||
)
|
||||
@@ -53,9 +46,8 @@ pkg_filegroup(
|
||||
srcs = [
|
||||
":dbscheme_files",
|
||||
":manifest",
|
||||
":qltest",
|
||||
":tracing-config",
|
||||
":autobuild",
|
||||
":scripts",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
@@ -12,6 +12,7 @@ swift_cc_binary(
|
||||
"-lxml2",
|
||||
"-framework CoreFoundation",
|
||||
],
|
||||
target_compatible_with = ["@platforms//os:macos"],
|
||||
)
|
||||
|
||||
generate_cmake(
|
||||
|
||||
Reference in New Issue
Block a user