Swift: simplify Bazel a bit

This commit is contained in:
Alex Denisov
2022-10-18 10:04:50 +02:00
parent a3b5f2239d
commit eba7f1a744
2 changed files with 4 additions and 11 deletions

View File

@@ -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"],
)

View File

@@ -12,6 +12,7 @@ swift_cc_binary(
"-lxml2",
"-framework CoreFoundation",
],
target_compatible_with = ["@platforms//os:macos"],
)
generate_cmake(