UNPKG

tarifa

Version:

Your friendly toolchain for mobile app development on top of Apache Cordova

15 lines (13 loc) 612 B
var pathHelper = require('../../../../../helper/path'), log = require('../../../../../helper/log'), copySplashscreens = require('../../../../../cordova/splashscreen').copySplashscreens; module.exports = function (msg) { return copySplashscreens(pathHelper.root(), msg.platform, msg.configuration, msg.platformVersion) .then(function () { log.send('success', 'copied splash screens for platform %s', msg.platform); return msg; }, function(err) { log.send('warning', 'Failed to copy splash screens: %s', err); return msg; }); };