Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
CB-8965 Copy cordova-js-src directory to platform folder during creat…
…e. This closes #185
  • Loading branch information
surajpindoria authored and stevengill committed Aug 3, 2015
1 parent 17da3f7 commit f4c1a89a4a30462c8a8c8f20dcda18f3a600fd77
Showing 1 changed file with 1 addition and 0 deletions.
@@ -130,6 +130,7 @@ function copyFilesToProject() {
//copy cordova-*version*.js to www
shell.cp(CORDOVA_JS_SRC, path.join(project_path, "www"));
fs.renameSync(path.join(project_path, "www", "cordova.blackberry10.js"), path.join(project_path, "www", js_basename));
shell.cp('-rf', path.join(ROOT_PROJECT_DIR, 'cordova-js-src'), path.join(project_path, 'platform_www'));

//copy node modules to cordova build directory
wrench.mkdirSyncRecursive(nodeModulesDest, 0777);

0 comments on commit f4c1a89

Please sign in to comment.