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.
2 parents e480d02 + 0f4209b commit fbf5f14Copy full SHA for fbf5f14
build_script.py
@@ -10,6 +10,7 @@
10
#
11
12
import argparse
13
+import glob
14
import os
15
import subprocess
16
import tempfile
@@ -73,17 +74,8 @@ def main():
73
74
if not os.path.exists(build_dir):
75
run("mkdir -p {}".format(build_dir))
76
- sourceFiles = [
77
- "XCTAssert.swift",
78
- "XCTestCaseProvider.swift",
79
- "XCTestCase.swift",
80
- "XCTimeUtilities.swift",
81
- "XCTestMain.swift",
82
- ]
83
- sourcePaths = []
84
- for file in sourceFiles:
85
- sourcePaths.append("{0}/Sources/XCTest/{1}".format(SOURCE_DIR, file))
86
-
+ sourcePaths = glob.glob(os.path.join(
+ SOURCE_DIR, 'Sources', 'XCTest', '*.swift'))
87
88
if args.build_style == "debug":
89
style_options = "-g"
0 commit comments