Skip to content

Commit eba7f1a

Browse files
committed
Swift: simplify Bazel a bit
1 parent a3b5f22 commit eba7f1a

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

swift/BUILD.bazel

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,8 @@ pkg_files(
2424
)
2525

2626
pkg_files(
27-
name = "qltest",
28-
srcs = ["tools/qltest.sh"],
29-
attributes = pkg_attributes(mode = "0755"),
30-
prefix = "tools",
31-
)
32-
33-
pkg_files(
34-
name = "autobuild",
35-
srcs = ["tools/autobuild.sh"],
27+
name = "scripts",
28+
srcs = ["tools/qltest.sh", "tools/autobuild.sh"],
3629
attributes = pkg_attributes(mode = "0755"),
3730
prefix = "tools",
3831
)
@@ -53,9 +46,8 @@ pkg_filegroup(
5346
srcs = [
5447
":dbscheme_files",
5548
":manifest",
56-
":qltest",
5749
":tracing-config",
58-
":autobuild",
50+
":scripts",
5951
],
6052
visibility = ["//visibility:public"],
6153
)

swift/xcode-autobuilder/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ swift_cc_binary(
1212
"-lxml2",
1313
"-framework CoreFoundation",
1414
],
15+
target_compatible_with = ["@platforms//os:macos"],
1516
)
1617

1718
generate_cmake(

0 commit comments

Comments
 (0)