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 06dcad7 commit d401c39Copy full SHA for d401c39
1 file changed
Plugins/PackageToJS/Tests/ExampleTests.swift
@@ -227,6 +227,10 @@ extension Trait where Self == ConditionTrait {
227
fileURLWithPath: "swift",
228
relativeTo: URL(fileURLWithPath: try #require(Self.getSwiftPath()))
229
)
230
+ var args = args
231
+ if args.first == "package" {
232
+ args.insert(contentsOf: ["--build-system", "native"], at: 1)
233
+ }
234
try runProcess(swiftExecutable, args, env)
235
}
236
try body(destination.appending(path: path), runProcess, runSwift)
0 commit comments