From 35c2d0ad6d8ffc9b51a8cadc9041144581a8488b Mon Sep 17 00:00:00 2001 From: Daniele Formichelli Date: Wed, 28 May 2025 18:14:57 +0200 Subject: [PATCH 1/3] feat: add support for CoreData source files --- Sources/XcodeGraph/Models/Target.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XcodeGraph/Models/Target.swift b/Sources/XcodeGraph/Models/Target.swift index e59deb17..c0dfd842 100644 --- a/Sources/XcodeGraph/Models/Target.swift +++ b/Sources/XcodeGraph/Models/Target.swift @@ -8,7 +8,7 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { // Note: The `.docc` file type is technically both a valid source extension and folder extension // in order to compile the documentation archive (including Tutorials, Articles, etc.) public static let validSourceCompatibleFolderExtensions: [String] = [ - "playground", "rcproject", "mlpackage", "docc", + "playground", "rcproject", "mlpackage", "docc", "xcdatamodeld", "xcmappingmodel" ] public static let validSourceExtensions: [String] = [ "m", "swift", "mm", "cpp", "c++", "cc", "c", "d", "s", "intentdefinition", "metal", "mlmodel", "clp", From cc224b41037837d2e31ac32e6fc3b4b942c2b58c Mon Sep 17 00:00:00 2001 From: Daniele Formichelli Date: Wed, 28 May 2025 18:48:03 +0200 Subject: [PATCH 2/3] chore: format --- Sources/XcodeGraph/Models/Target.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XcodeGraph/Models/Target.swift b/Sources/XcodeGraph/Models/Target.swift index c0dfd842..0b77530e 100644 --- a/Sources/XcodeGraph/Models/Target.swift +++ b/Sources/XcodeGraph/Models/Target.swift @@ -8,7 +8,7 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { // Note: The `.docc` file type is technically both a valid source extension and folder extension // in order to compile the documentation archive (including Tutorials, Articles, etc.) public static let validSourceCompatibleFolderExtensions: [String] = [ - "playground", "rcproject", "mlpackage", "docc", "xcdatamodeld", "xcmappingmodel" + "playground", "rcproject", "mlpackage", "docc", "xcdatamodeld", "xcmappingmodel", ] public static let validSourceExtensions: [String] = [ "m", "swift", "mm", "cpp", "c++", "cc", "c", "d", "s", "intentdefinition", "metal", "mlmodel", "clp", From 32c9978d8be7040097541537404b3b113e3bd723 Mon Sep 17 00:00:00 2001 From: Daniele Formichelli Date: Thu, 29 May 2025 10:52:27 +0200 Subject: [PATCH 3/3] chore: only keep xcmappingmodel as sources --- Sources/XcodeGraph/Models/Target.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XcodeGraph/Models/Target.swift b/Sources/XcodeGraph/Models/Target.swift index 0b77530e..3035f419 100644 --- a/Sources/XcodeGraph/Models/Target.swift +++ b/Sources/XcodeGraph/Models/Target.swift @@ -8,7 +8,7 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { // Note: The `.docc` file type is technically both a valid source extension and folder extension // in order to compile the documentation archive (including Tutorials, Articles, etc.) public static let validSourceCompatibleFolderExtensions: [String] = [ - "playground", "rcproject", "mlpackage", "docc", "xcdatamodeld", "xcmappingmodel", + "playground", "rcproject", "mlpackage", "docc", "xcmappingmodel", ] public static let validSourceExtensions: [String] = [ "m", "swift", "mm", "cpp", "c++", "cc", "c", "d", "s", "intentdefinition", "metal", "mlmodel", "clp",