cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] git commit: added case-insensitivity to check_reqs for wp8, just like @albanf did for wp7
Date Sun, 29 Sep 2013 08:33:44 GMT
Updated Branches:
  refs/heads/3.1.x 85245bfe8 -> 9c1e0625d


added case-insensitivity to check_reqs for wp8, just like @albanf did for wp7


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

Branch: refs/heads/3.1.x
Commit: 0d9a06863ad092bdaf336cd829be6ed40bf219d9
Parents: 85245bf
Author: purplecabbage <purplecabbage@gmail.com>
Authored: Tue Sep 17 17:57:41 2013 -0700
Committer: purplecabbage <purplecabbage@gmail.com>
Committed: Sun Sep 29 01:29:02 2013 -0700

----------------------------------------------------------------------
 wp8/bin/check_reqs.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0d9a0686/wp8/bin/check_reqs.js
----------------------------------------------------------------------
diff --git a/wp8/bin/check_reqs.js b/wp8/bin/check_reqs.js
index b483841..58d16cf 100644
--- a/wp8/bin/check_reqs.js
+++ b/wp8/bin/check_reqs.js
@@ -53,7 +53,7 @@ function check_command(cmd, fail_msg) {
         WScript.Sleep(100);
     }
 
-    //Check that command executed 
+    //Check that command executed
     if (!out.StdErr.AtEndOfStream) {
         var line = out.StdErr.ReadLine();
         Log(fail_msg, true);
@@ -80,7 +80,7 @@ function SystemRequiermentsMet() {
     var cmd = 'msbuild -version'
     var fail_msg = 'The command `msbuild` failed. Make sure you have the latest Windows Phone
SDKs installed, AND have the latest .NET framework added to your path (i.e C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319).'
     var output = check_command(cmd, fail_msg);
-    var msversion = output.match(/\.NET\sFramework\,\sversion\s4\.0/);
+    var msversion = output.match(/\.NET\sFramework\,\sversion\s4\.0/i);
     if (!msversion) {
         Log('Please install the .NET Framwork v4.0.30319 (in the latest windows phone SDK\'s).',
true);
         Log('Make sure the "msbuild" command in your path is pointing to  v4.0.30319 of msbuild
as well (inside C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319).', true);
@@ -91,7 +91,7 @@ function SystemRequiermentsMet() {
         cmd = 'git --version';
         fail_msg = 'The command `git` failed. Make sure you have git installed as well ad
in your PATH environment so the tool can use it';
         output = check_command(cmd, fail_msg);
-        var gitVersion = output.match(/git\sversion\s1\./);
+        var gitVersion = output.match(/git\sversion\s1\./i);
         if (!gitVersion) {
             Log('Please ensure you have at least git v1 installed and added to you PATH so
this tool can use it to get the latest codova.');
         }


Mime
View raw message