From 00a4fe9a74d5beae4481c250bb905966ba649ed2 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Fri, 5 Apr 2019 16:12:56 +0200 Subject: [PATCH] Fix SwiftGen after Countries -> Flags --- Passepartout-iOS/Global/SwiftGen+Assets.swift | 34 ++++++++++++++++++- swiftgen.yml | 2 +- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/Passepartout-iOS/Global/SwiftGen+Assets.swift b/Passepartout-iOS/Global/SwiftGen+Assets.swift index 48ef4efc..f0074be0 100644 --- a/Passepartout-iOS/Global/SwiftGen+Assets.swift +++ b/Passepartout-iOS/Global/SwiftGen+Assets.swift @@ -21,21 +21,27 @@ internal enum Asset { internal enum Assets { internal static let logo = ImageAsset(name: "logo") } - internal enum Countries { + internal enum Flags { internal static let ad = ImageAsset(name: "ad") internal static let ae = ImageAsset(name: "ae") internal static let af = ImageAsset(name: "af") + internal static let ag = ImageAsset(name: "ag") + internal static let ai = ImageAsset(name: "ai") + internal static let al = ImageAsset(name: "al") internal static let am = ImageAsset(name: "am") internal static let ao = ImageAsset(name: "ao") internal static let aq = ImageAsset(name: "aq") internal static let ar = ImageAsset(name: "ar") internal static let `as` = ImageAsset(name: "as") + internal static let at = ImageAsset(name: "at") internal static let au = ImageAsset(name: "au") internal static let aw = ImageAsset(name: "aw") internal static let ax = ImageAsset(name: "ax") internal static let az = ImageAsset(name: "az") internal static let ba = ImageAsset(name: "ba") internal static let bb = ImageAsset(name: "bb") + internal static let bd = ImageAsset(name: "bd") + internal static let be = ImageAsset(name: "be") internal static let bf = ImageAsset(name: "bf") internal static let bg = ImageAsset(name: "bg") internal static let bh = ImageAsset(name: "bh") @@ -57,6 +63,8 @@ internal enum Asset { internal static let cc = ImageAsset(name: "cc") internal static let cd = ImageAsset(name: "cd") internal static let cf = ImageAsset(name: "cf") + internal static let cg = ImageAsset(name: "cg") + internal static let ch = ImageAsset(name: "ch") internal static let ci = ImageAsset(name: "ci") internal static let ck = ImageAsset(name: "ck") internal static let cl = ImageAsset(name: "cl") @@ -78,13 +86,16 @@ internal enum Asset { internal static let dz = ImageAsset(name: "dz") internal static let ec = ImageAsset(name: "ec") internal static let ee = ImageAsset(name: "ee") + internal static let eg = ImageAsset(name: "eg") internal static let eh = ImageAsset(name: "eh") internal static let er = ImageAsset(name: "er") internal static let esCt = ImageAsset(name: "es-ct") + internal static let es = ImageAsset(name: "es") internal static let et = ImageAsset(name: "et") internal static let eu = ImageAsset(name: "eu") internal static let fi = ImageAsset(name: "fi") internal static let fj = ImageAsset(name: "fj") + internal static let fk = ImageAsset(name: "fk") internal static let fm = ImageAsset(name: "fm") internal static let fo = ImageAsset(name: "fo") internal static let fr = ImageAsset(name: "fr") @@ -109,25 +120,31 @@ internal enum Asset { internal static let gs = ImageAsset(name: "gs") internal static let gt = ImageAsset(name: "gt") internal static let gu = ImageAsset(name: "gu") + internal static let gw = ImageAsset(name: "gw") internal static let gy = ImageAsset(name: "gy") + internal static let hk = ImageAsset(name: "hk") internal static let hm = ImageAsset(name: "hm") internal static let hn = ImageAsset(name: "hn") internal static let hr = ImageAsset(name: "hr") internal static let ht = ImageAsset(name: "ht") internal static let hu = ImageAsset(name: "hu") + internal static let id = ImageAsset(name: "id") internal static let ie = ImageAsset(name: "ie") internal static let il = ImageAsset(name: "il") internal static let im = ImageAsset(name: "im") internal static let `in` = ImageAsset(name: "in") internal static let io = ImageAsset(name: "io") internal static let iq = ImageAsset(name: "iq") + internal static let ir = ImageAsset(name: "ir") internal static let `is` = ImageAsset(name: "is") internal static let it = ImageAsset(name: "it") + internal static let je = ImageAsset(name: "je") internal static let jm = ImageAsset(name: "jm") internal static let jo = ImageAsset(name: "jo") internal static let jp = ImageAsset(name: "jp") internal static let ke = ImageAsset(name: "ke") internal static let kg = ImageAsset(name: "kg") + internal static let kh = ImageAsset(name: "kh") internal static let ki = ImageAsset(name: "ki") internal static let km = ImageAsset(name: "km") internal static let kn = ImageAsset(name: "kn") @@ -147,6 +164,7 @@ internal enum Asset { internal static let lu = ImageAsset(name: "lu") internal static let lv = ImageAsset(name: "lv") internal static let ly = ImageAsset(name: "ly") + internal static let ma = ImageAsset(name: "ma") internal static let mc = ImageAsset(name: "mc") internal static let md = ImageAsset(name: "md") internal static let me = ImageAsset(name: "me") @@ -154,6 +172,7 @@ internal enum Asset { internal static let mg = ImageAsset(name: "mg") internal static let mh = ImageAsset(name: "mh") internal static let mk = ImageAsset(name: "mk") + internal static let ml = ImageAsset(name: "ml") internal static let mm = ImageAsset(name: "mm") internal static let mn = ImageAsset(name: "mn") internal static let mo = ImageAsset(name: "mo") @@ -166,10 +185,12 @@ internal enum Asset { internal static let mv = ImageAsset(name: "mv") internal static let mw = ImageAsset(name: "mw") internal static let mx = ImageAsset(name: "mx") + internal static let my = ImageAsset(name: "my") internal static let mz = ImageAsset(name: "mz") internal static let na = ImageAsset(name: "na") internal static let nc = ImageAsset(name: "nc") internal static let ne = ImageAsset(name: "ne") + internal static let nf = ImageAsset(name: "nf") internal static let ng = ImageAsset(name: "ng") internal static let ni = ImageAsset(name: "ni") internal static let nl = ImageAsset(name: "nl") @@ -180,6 +201,7 @@ internal enum Asset { internal static let nz = ImageAsset(name: "nz") internal static let om = ImageAsset(name: "om") internal static let pa = ImageAsset(name: "pa") + internal static let pe = ImageAsset(name: "pe") internal static let pf = ImageAsset(name: "pf") internal static let pg = ImageAsset(name: "pg") internal static let ph = ImageAsset(name: "ph") @@ -187,6 +209,7 @@ internal enum Asset { internal static let pl = ImageAsset(name: "pl") internal static let pm = ImageAsset(name: "pm") internal static let pn = ImageAsset(name: "pn") + internal static let pr = ImageAsset(name: "pr") internal static let ps = ImageAsset(name: "ps") internal static let pt = ImageAsset(name: "pt") internal static let pw = ImageAsset(name: "pw") @@ -196,6 +219,8 @@ internal enum Asset { internal static let ro = ImageAsset(name: "ro") internal static let rs = ImageAsset(name: "rs") internal static let ru = ImageAsset(name: "ru") + internal static let rw = ImageAsset(name: "rw") + internal static let sa = ImageAsset(name: "sa") internal static let sb = ImageAsset(name: "sb") internal static let sc = ImageAsset(name: "sc") internal static let sd = ImageAsset(name: "sd") @@ -218,6 +243,7 @@ internal enum Asset { internal static let sz = ImageAsset(name: "sz") internal static let tc = ImageAsset(name: "tc") internal static let td = ImageAsset(name: "td") + internal static let tf = ImageAsset(name: "tf") internal static let tg = ImageAsset(name: "tg") internal static let th = ImageAsset(name: "th") internal static let tj = ImageAsset(name: "tj") @@ -225,24 +251,30 @@ internal enum Asset { internal static let tl = ImageAsset(name: "tl") internal static let tm = ImageAsset(name: "tm") internal static let tn = ImageAsset(name: "tn") + internal static let to = ImageAsset(name: "to") internal static let tr = ImageAsset(name: "tr") internal static let tt = ImageAsset(name: "tt") + internal static let tv = ImageAsset(name: "tv") internal static let tw = ImageAsset(name: "tw") internal static let tz = ImageAsset(name: "tz") internal static let ua = ImageAsset(name: "ua") + internal static let ug = ImageAsset(name: "ug") internal static let um = ImageAsset(name: "um") internal static let un = ImageAsset(name: "un") internal static let us = ImageAsset(name: "us") + internal static let uy = ImageAsset(name: "uy") internal static let uz = ImageAsset(name: "uz") internal static let va = ImageAsset(name: "va") internal static let vc = ImageAsset(name: "vc") internal static let ve = ImageAsset(name: "ve") internal static let vg = ImageAsset(name: "vg") + internal static let vi = ImageAsset(name: "vi") internal static let vn = ImageAsset(name: "vn") internal static let vu = ImageAsset(name: "vu") internal static let wf = ImageAsset(name: "wf") internal static let ws = ImageAsset(name: "ws") internal static let xk = ImageAsset(name: "xk") + internal static let ye = ImageAsset(name: "ye") internal static let yt = ImageAsset(name: "yt") internal static let za = ImageAsset(name: "za") internal static let zm = ImageAsset(name: "zm") diff --git a/swiftgen.yml b/swiftgen.yml index 36538dec..d30deb8f 100644 --- a/swiftgen.yml +++ b/swiftgen.yml @@ -21,7 +21,7 @@ ib: xcassets: inputs: - Passepartout-iOS/Assets.xcassets - - Passepartout-iOS/Countries.xcassets + - Passepartout-iOS/Flags.xcassets - Passepartout-iOS/Providers.xcassets outputs: - templateName: swift4