Sha256: 292c2c23b494dc28a5ccd465f88e86af7e2a45c44a5633d4623e33e17cc78931
Contents?: true
Size: 600 Bytes
Versions: 16
Compression:
Stored size: 600 Bytes
Contents
module Xcake # This build phase generator detects XCAsset bundles # and adds them to the copy resources phase. # class CopyXCAssetsFileReferenceInstaller < CopyResourcesFileReferenceInstaller def self.dependencies [] end def self.can_install_node(node) File.directory?(node.path) && [".xcassets"].include?(File.extname(node.path)) end def visit_node(node) super #Ignore all files inside of the XCAssets node.children = [] end end end Xcake::FileReferenceInstaller.register_plugin(Xcake::CopyXCAssetsFileReferenceInstaller)
Version data entries
16 entries across 16 versions & 1 rubygems