You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/08/26 22:46:48 UTC

[15/15] git commit: bin/create: create www

bin/create: create www


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/a003c32d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/a003c32d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/a003c32d

Branch: refs/heads/master
Commit: a003c32d39a863c33a99843374137a1d21412009
Parents: be0da07
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Tue Aug 19 16:06:26 2014 +0400
Committer: Maxim Ermilov <ma...@canonical.com>
Committed: Tue Aug 19 16:06:26 2014 +0400

----------------------------------------------------------------------
 bin/create | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/a003c32d/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index cd99fcc..92a9d61 100755
--- a/bin/create
+++ b/bin/create
@@ -49,6 +49,9 @@ function create(project_path, package_name, project_name, project_template_dir)
 
         shell.cp('-r', path.join(ROOT, 'xml/config.xml'), project_path);
 
+        shell.mkdir(path.join(project_path, 'www'));
+        shell.cp(path.join(ROOT, 'www/cordova.js'), path.join(project_path, 'www'));
+
         shell.cd(project_path);
     }