 
 import Foundation
 
-typealias SerializedAssetAttribute =  [String: String]
+typealias SerializedAssetAttribute = [String: String]
 
 struct AssetAttribute: Serializable {
     var filename: String

    case LaunchImage
    
}


struct Asset {
    let attributes: AssetAttribute

    ///
    /// Removes the various keywords used in Asset Generator.
    ///
    ///  scale: @1x, @2x, @3x
    ///  idiom: ~iphone, ~ipad
    ///  extention: .png, .jpg, etc.
    private func stripKeywords(path: Path) -> Path {
        var name = path.lastPathComponent.stringByDeletingPathExtension.remove([GenerationKeywords.PPI2x,
                                                                                GenerationKeywords.PPI3x,
                                                                                GenerationKeywords.PPI1x,
                                                                                GenerationKeywords.iPhone,
                                                                                GenerationKeywords.iPad ])
        return name
    }
    
