Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
CB-8965 Copy cordova-js-src to platform folder during create. This cl…
…oses #85
  • Loading branch information
surajpindoria authored and Vladimir Kotikov committed Aug 28, 2015
1 parent 3799b27 commit fed5953c21c1a614eda39f10c7d033b1e54bb087
Showing 1 changed file with 2 additions and 0 deletions.
@@ -63,6 +63,8 @@ = function (argv) {
console.log('Copying necessary files to ' + projectPath);
// Copy the template source files to the new destination
shell.cp('-rf', path.join(templatePath, '*'), projectPath);
// Copy cordova-js-src directory
shell.cp('-rf', path.join(platformRoot, 'cordova-js-src'), path.join(projectPath, 'platform_www'));
// Copy our unique VERSION file, so peeps can tell what version this project was created from.
shell.cp('-rf', path.join(platformRoot, 'VERSION'), projectPath);
// copy the defaults.xml into config.xml so this project can be built when create is called minus the cordova-cli

0 comments on commit fed5953

Please sign in to comment.