cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marc...@apache.org
Subject [5/7] git commit: Updated blackberry platform's metadata
Date Tue, 01 Oct 2013 15:01:23 GMT
Updated blackberry platform's metadata


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

Branch: refs/heads/master
Commit: d1637d1a551c23a7f3579802f6312b16690d98f8
Parents: 92ccee8
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Sep 19 22:34:14 2013 -0400
Committer: Marcel Kinard <cmarcelk@gmail.com>
Committed: Tue Oct 1 10:56:26 2013 -0400

----------------------------------------------------------------------
 coho | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/d1637d1a/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 3e9cbd3..c0caf06 100755
--- a/coho
+++ b/coho
@@ -64,18 +64,12 @@ var platformRepos = [
         id: 'blackberry',
         repoName: 'cordova-blackberry',
         jiraComponentName: 'BlackBerry',
+        cordovaJsSrcName: 'cordova.blackberry10.js',
         cordovaJsPaths: [
-            path.join('bbos', 'javascript', 'cordova.blackberry.js'),
-            path.join('playbook', 'javascript', 'cordova.blackberry.js'),
-            // bb10 JS path uses a different src, so logic is hardcoded below.
+            path.join('blackberry10', 'javascript', 'cordova.blackberry10.js')
             ],
         versionFilePaths: [
-            path.join('bbos', 'VERSION'),
-            path.join('bbos', 'bin', 'templates', 'project', 'www', 'VERSION'),
             path.join('blackberry10', 'VERSION'),
-            path.join('blackberry10', 'bin', 'templates', 'project', 'www', 'VERSION'),
-            path.join('playbook', 'VERSION'),
-            path.join('playbook', 'bin', 'templates', 'project', 'www', 'VERSION'),
             ]
     }, {
         title: 'Windows',
@@ -1133,11 +1127,6 @@ function updateJsSnapshot(repo, version) {
             var src = path.join('..', 'cordova-js', 'pkg', repo.cordovaJsSrcName || ('cordova.'
+ repo.id + '.js'));
             cpAndLog(src, jsPath);
         });
-        // Extra bb10 logic
-        if (repo.id == 'blackberry') {
-            var src = path.join('..', 'cordova-js', 'pkg', 'cordova.blackberry10.js');
-            cpAndLog(src, path.join('blackberry10', 'javascript', 'cordova.blackberry10.js'));
-        }
         if (pendingChangesExist()) {
             execHelper('git commit -am "Update JS snapshot to version ' + version + ' (via
coho)"');
         }


Mime
View raw message