diff --git a/CHANGELOG.md b/CHANGELOG.md index a80e7321f..b1e30b511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Next Version +### Fixed + +- Fixed exclusion of relative paths when including a relative path in target sources #1454 @dalemyers + ## 2.39.1 ### Added diff --git a/Sources/XcodeGenKit/SourceGenerator.swift b/Sources/XcodeGenKit/SourceGenerator.swift index 3abc303e2..7c49ea6c0 100644 --- a/Sources/XcodeGenKit/SourceGenerator.swift +++ b/Sources/XcodeGenKit/SourceGenerator.swift @@ -376,7 +376,7 @@ class SourceGenerator { patterns.parallelMap { pattern in guard !pattern.isEmpty else { return [] } return Glob(pattern: "\(rootSourcePath)/\(pattern)") - .map { Path($0) } + .map { Path($0).absolute() } .map { guard $0.isDirectory else { return [$0]