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 e33e824 + 56178cd commit 10eab84Copy full SHA for 10eab84
utils/swift-xcodegen/Sources/SwiftXcodeGen/BuildArgs/ClangBuildArgsProvider.swift
@@ -42,7 +42,7 @@ struct ClangBuildArgsProvider {
42
else {
43
continue
44
}
45
- let output = command.output.map { command.directory.appending($0) }
+ let output = command.output.map { $0.absolute(in: command.directory) }
46
if let existing = commandsToAdd[relFilePath],
47
let existingOutput = existing.output,
48
output == nil || existingOutput.exists || !output!.exists {
utils/swift-xcodegen/Sources/SwiftXcodeGen/Command/CompileCommands.swift
@@ -27,7 +27,7 @@ extension CompileCommands {
27
struct Element: Decodable {
28
var directory: AbsolutePath
29
var file: AbsolutePath
30
- var output: RelativePath?
+ var output: AnyPath?
31
var command: Command
32
33
0 commit comments