cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: updating glob since it sucked on windows.
Date Fri, 17 May 2013 23:07:10 GMT
Updated Branches:
  refs/heads/wp abcece076 -> ad4868a14


updating glob since it sucked on windows.


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

Branch: refs/heads/wp
Commit: ad4868a14f2c6371459400602b81d264b5496b1c
Parents: abcece0
Author: Fil Maj <maj.fil@gmail.com>
Authored: Fri May 17 16:07:07 2013 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri May 17 16:07:07 2013 -0700

----------------------------------------------------------------------
 package.json         |    2 +-
 src/platforms/wp7.js |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/ad4868a1/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 5a9e9b9..385e3e4 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
   },
   "dependencies": {
     "nopt": "1.0.x",
-    "glob": "3.0.x",
+    "glob": "3.2.x",
     "elementtree": "0.1.x",
     "xcode": "0.6.x",
     "plist": "0.4.x",

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/ad4868a1/src/platforms/wp7.js
----------------------------------------------------------------------
diff --git a/src/platforms/wp7.js b/src/platforms/wp7.js
index 617297a..ac2a5c7 100644
--- a/src/platforms/wp7.js
+++ b/src/platforms/wp7.js
@@ -101,7 +101,9 @@ module.exports = {
         return xml_helpers.parseElementtreeSync(path.join(project_dir, 'Properties', 'WMAppManifest.xml')).find('App').attrib.ProductID;
     },
     parseWP7ProjectFile:function(project_dir) {
-        var project_files = glob.sync(project_dir.split('\\').join('/') + '/*.csproj');
+        var project_files = glob.sync('*.csproj', {
+            cwd:project_dir
+        });
         if (project_files.length === 0) {
             throw new Error('does not appear to be a Windows Phone project (no .csproj file)');
         }


Mime
View raw message