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

    case LaunchImage
    
}


struct Asset {
    let attributes: AssetAttribute

        self.minimumSystemVersion = minimumSystemVersion
    }
    
    // MARK: - Serializable
    
    typealias Serialized = SerializedAssetAttribute
    var serialized: Serialized {
        var s = [SerializedAssetAttributeKeys.Filename: filename, SerializedAssetAttributeKeys.Scale: scale, SerializedAssetAttributeKeys.Idiom: idiom]
        if let size = size {
            s.updateValue(size, forKey: SerializedAssetAttributeKeys.Size)
        }
        if let extent = extent {
            s.updateValue(extent, forKey: SerializedAssetAttributeKeys.Extent)
        }
        if let subtype = subtype {
            s.updateValue(subtype, forKey: SerializedAssetAttributeKeys.Subtype)
        }
        if let orientation = orientation {
            s.updateValue(orientation, forKey: SerializedAssetAttributeKeys.Orientation)
        }
        if let minimumSystemVersion = minimumSystemVersion {
            s.updateValue(minimumSystemVersion, forKey: SerializedAssetAttributeKeys.MinimumSystemVersion)
        }
        return s
    }
}

