def deploy(): # Libraries usually have a versioned path (True) # help.deployer(True) # Sites or apps dont help.deployer(Yak.paths['build'], False) # In case you wanna deploy dependencies as well help.deployer('dependencies', False, 'dependencies')
def deploy(): # Prep-up the default browser build help.deployer(Yak.paths['build'], False) help.deployer('dependencies', False, 'js') # Copy that over to ios folder deepcopy(FileList(Yak.paths['dist']), Yak.paths['dist-ios']) # Copy that over to android folder, along with specialized phonegap deepcopy(FileList(Yak.paths['dist']), Yak.paths['dist-android']) # Phonegap for Android libs = FileList('src/lib/phonegap/android', filter="*.js") libs.merge(FileList('src/lib/phonegap/plugins', filter="*.js")) combine(libs, FileSystem.join(Yak.paths['dist-android'], 'js', 'phonegap.js')) # Phonegap for ios libs = FileList('src/lib/phonegap/ios', filter="*.js") libs.merge(FileList('src/lib/phonegap/plugins', filter="*.js")) combine(libs, FileSystem.join(Yak.paths['dist-ios'], 'js', 'phonegap.js'))
def deploy(): # Libraries usually have a versioned path (True) # help.deployer(True) # Sites or apps dont help.deployer(Yak.paths['build'], True)