cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject [2/3] android commit: CB-4872 - make sure to copy over version scripts to project
Date Sat, 19 Oct 2013 00:24:42 GMT
CB-4872 - make sure to copy over version scripts to project


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

Branch: refs/heads/master
Commit: 82898da507f2522f4b647372b95e5490cebb8490
Parents: eabcdbf
Author: Tim Kim <timk@adobe.com>
Authored: Thu Oct 17 13:36:44 2013 -0700
Committer: Tim Kim <timk@adobe.com>
Committed: Fri Oct 18 17:13:57 2013 -0700

----------------------------------------------------------------------
 bin/lib/create.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/82898da5/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 9ba460d..7b015ac 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -85,7 +85,8 @@ function copyScripts(projectPath) {
     shell.cp('-r', path.join(ROOT, 'bin', 'node_modules'), destScriptsDir);
     shell.cp(path.join(ROOT, 'bin', 'check_reqs'), path.join(destScriptsDir, 'check_reqs'));
     shell.cp(path.join(ROOT, 'bin', 'lib', 'check_reqs.js'), path.join(projectPath, 'cordova',
'lib', 'check_reqs.js'));
-
+    shell.cp(path.join(ROOT, 'bin', 'android_sdk_version'), path.join(destScriptsDir, 'android_sdk_version'));
+    shell.cp(path.join(ROOT, 'bin', 'lib', 'android_sdk_version.js'), path.join(projectPath,
'cordova', 'lib', 'android_sdk_version.js'));
 }
 
 /**


Mime
View raw message