We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3040837 commit f3ed54eCopy full SHA for f3ed54e
swift/BUILD.bazel
@@ -84,8 +84,12 @@ pkg_filegroup(
84
srcs = [
85
":extractor",
86
":swift-test-sdk-arch",
87
- ":xcode-autobuilder",
88
- ],
+ ] + select({
+ "@platforms//os:linux": [],
89
+ "@platforms//os:macos": [
90
+ ":xcode-autobuilder"
91
+ ],
92
+ }),
93
visibility = ["//visibility:public"],
94
)
95
swift/tools/autobuild.sh
@@ -1,3 +1,8 @@
1
#!/bin/bash
2
3
-exec "${CODEQL_EXTRACTOR_SWIFT_ROOT}/tools/${CODEQL_PLATFORM}/xcode-autobuilder"
+if [[ "$OSTYPE" == "darwin"* ]]; then
4
+ exec "${CODEQL_EXTRACTOR_SWIFT_ROOT}/tools/${CODEQL_PLATFORM}/xcode-autobuilder"
5
+else
6
+ echo "Not implemented yet"
7
+ exit 1
8
+fi
0 commit comments