CB-12042 Copy base.js to www directory at create
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/fb894def Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/fb894def Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/fb894def Branch: refs/heads/4.4.x Commit: fb894defe63f6ba31a13baf8ccf51aa440176ae2 Parents: 966acc8 Author: Vladimir Kotikov <v-vlk...@microsoft.com> Authored: Thu Oct 20 16:03:22 2016 +0300 Committer: daserge <v-ses...@microsoft.com> Committed: Thu Oct 20 20:54:57 2016 +0300 ---------------------------------------------------------------------- bin/lib/create.js | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/fb894def/bin/lib/create.js ---------------------------------------------------------------------- diff --git a/bin/lib/create.js b/bin/lib/create.js index eb6bb7d..08c5156 100644 --- a/bin/lib/create.js +++ b/bin/lib/create.js @@ -92,6 +92,10 @@ module.exports.create = function (destinationDir, config, options) { recursiveCreateDirectory(destinationDirectory); shell.cp('-f', srcBaseJsPath, destBaseJsPath); + // CB-12042 Also copy base.js to www directory + shell.mkdir('-p', path.join(projectPath, 'www/WinJS/js')); + shell.cp('-f', srcBaseJsPath, path.join(projectPath, 'www/WinJS/js/base.js')); + // replace specific values in manifests' templates events.emit('verbose', 'Updating manifest files with project configuration.'); [ 'package.windows.appxmanifest', 'package.phone.appxmanifest', --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org