mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-20 00:58:04 +03:00
Add mlmodel to compiled file extensions (#457)
This commit is contained in:
parent
f991020a5a
commit
7e2c870762
@ -192,7 +192,8 @@ class SourceGenerator {
|
||||
"S",
|
||||
"xcdatamodeld",
|
||||
"intentdefinition",
|
||||
"metal":
|
||||
"metal",
|
||||
"mlmodel":
|
||||
return .sources
|
||||
case "h",
|
||||
"hh",
|
||||
|
@ -435,6 +435,7 @@ class SourceGeneratorTests: XCTestCase {
|
||||
- file.123
|
||||
- file.xcassets
|
||||
- file.metal
|
||||
- file.mlmodel
|
||||
- Info.plist
|
||||
- Intent.intentdefinition
|
||||
"""
|
||||
@ -484,6 +485,7 @@ class SourceGeneratorTests: XCTestCase {
|
||||
try pbxProj.expectFile(paths: ["C", "file.123"], buildPhase: .resources)
|
||||
try pbxProj.expectFile(paths: ["C", "Info.plist"], buildPhase: .none)
|
||||
try pbxProj.expectFile(paths: ["C", "file.metal"], buildPhase: .sources)
|
||||
try pbxProj.expectFile(paths: ["C", "file.mlmodel"], buildPhase: .sources)
|
||||
try pbxProj.expectFile(paths: ["C", "Intent.intentdefinition"], buildPhase: .sources)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user