From e2314b4b10e6428cd47951602f2685d0fff0da52 Mon Sep 17 00:00:00 2001 From: Suraj Pindoria Date: Wed, 24 Jun 2015 17:34:07 -0700 Subject: [PATCH] CB-8965 Copy cordova-js-src directory to platform folder during create --- bin/lib/create.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/lib/create.js b/bin/lib/create.js index bc07b78b..bdbbcd16 100644 --- a/bin/lib/create.js +++ b/bin/lib/create.js @@ -58,6 +58,9 @@ module.exports.run = function (argv) { console.log('\tCustomTemplatePath : ' + templateOverrides); } + // Copy cordova-js-src directory + shell.cp('-rf', path.join(root, 'cordova-js-src'), path.join(projectPath, 'platform_www')); + // Copy the template source files to the new destination console.log('Copying template to ' + projectPath); shell.cp('-rf', path.join(root, 'template', '*'), projectPath);