cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [21/27] git commit: CB-5816 fix errors in untested code
Date Wed, 14 May 2014 00:09:50 GMT
CB-5816 fix errors in untested code


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

Branch: refs/heads/3.5.x
Commit: 7800b1b2718ff5a27afd63e3a7a2f366fb673145
Parents: 52a5255
Author: braas <braas@steckelfisch.nl>
Authored: Wed Apr 30 14:10:42 2014 +0200
Committer: braas <braas@steckelfisch.nl>
Committed: Wed Apr 30 14:10:42 2014 +0200

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/build.js | 3 +--
 bin/templates/project/cordova/lib/clean.js | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/7800b1b2/bin/templates/project/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/build.js b/bin/templates/project/cordova/lib/build.js
index 08bdfa6..73fbedd 100644
--- a/bin/templates/project/cordova/lib/build.js
+++ b/bin/templates/project/cordova/lib/build.js
@@ -28,8 +28,7 @@ var path = require('path'),
     buildReleaseDirInMerge  = 'build--release',
     platformWwwDir          = path.join('platforms', 'firefoxos', 'www'),
     platformBuildDir        = path.join('platforms', 'firefoxos', 'build'),
-    buildReleaseDirInWwwDir = path.join(platformWwwDir, buildReleaseDirInMerge)
-;
+    buildReleaseDirInWwwDir = path.join(platformWwwDir, buildReleaseDirInMerge);
 
 function hasMergesCustomReleaseArtifactsDir() {
     return fs.existsSync(path.join('merges', 'firefoxos', buildReleaseDirInMerge));

http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/7800b1b2/bin/templates/project/cordova/lib/clean.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/clean.js b/bin/templates/project/cordova/lib/clean.js
index 2024527..38c3abf 100644
--- a/bin/templates/project/cordova/lib/clean.js
+++ b/bin/templates/project/cordova/lib/clean.js
@@ -21,9 +21,9 @@
  
 var fs = require('fs'),
     shjs = require('shelljs'),
+    path = require('path'),
     check_reqs = require('./check_reqs'),
-    platformBuildDir = path.join('platforms', 'firefoxos', 'build'),
-;
+    platformBuildDir = path.join('platforms', 'firefoxos', 'build');
 
 exports.cleanProject = function(){
 
@@ -36,7 +36,7 @@ exports.cleanProject = function(){
     console.log('Cleaning Firefoxos project');
     try {
         if (fs.existsSync(platformBuildDir)) {
-            shjs.rm('-r', 'platformBuildDir);
+            shjs.rm('-r', platformBuildDir);
         }
     }
     catch(err) {


Mime
View raw message