Use own bundle ID instead of "xcode" as author

This commit is contained in:
Sven Weidauer 2020-12-30 16:05:18 +01:00
parent af49a2bc00
commit e85cedda9c

View file

@ -51,6 +51,13 @@ final class AssetCatalogGenerator: Generator {
} }
} }
private let infoTag = """
"info" : {
"author" : "de.5sw.MakeColors",
"version" : 1
}
"""
private extension Color { private extension Color {
func json() -> String { func json() -> String {
""" """
@ -69,10 +76,7 @@ private extension Color {
"idiom" : "universal" "idiom" : "universal"
} }
], ],
"info" : { \(infoTag)
"author" : "xcode",
"version" : 1
}
} }
""" """
} }
@ -86,21 +90,15 @@ private extension Color {
private let group = """ private let group = """
{ {
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : { "properties" : {
"provides-namespace" : true "provides-namespace" : true
} },
\(infoTag)
} }
""" """
private let catalog = """ private let catalog = """
{ {
"info" : { \(infoTag)
"author" : "xcode",
"version" : 1
}
} }
""" """