cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [07/28] git commit: [CB-2833] Changed git repo urls in scripts
Date Mon, 01 Apr 2013 22:28:39 GMT
[CB-2833] Changed git repo urls in scripts


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

Branch: refs/heads/master
Commit: b5856404d065c4565b8f868ae06da845a4efac12
Parents: 18911e8
Author: Benn Mapes <benn.mapes@gmail.com>
Authored: Wed Mar 27 14:17:50 2013 -0700
Committer: Benn Mapes <benn.mapes@gmail.com>
Committed: Wed Mar 27 14:17:50 2013 -0700

----------------------------------------------------------------------
 tooling/scripts/buildjs.js |    2 +-
 tooling/scripts/new.js     |   12 +++++-------
 2 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/b5856404/tooling/scripts/buildjs.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/buildjs.js b/tooling/scripts/buildjs.js
index d34e01d..983104b 100644
--- a/tooling/scripts/buildjs.js
+++ b/tooling/scripts/buildjs.js
@@ -36,7 +36,7 @@ var args = WScript.Arguments,
     //Subfolder containing example project
     EXAMPLE_PATH = '\\example',
     //Git Repositories
-    CORDOVA_JS = "git://github.com/apache/cordova-js.git",
+    CORDOVA_JS = "https://git-wip-us.apache.org/repos/asf/cordova-js.git",
     // get version
     VERSION = read(ROOT+'\\VERSION').replace(/\r\n/,'').replace(/\n/,''),
     BUILD_DESTINATION;

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/b5856404/tooling/scripts/new.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/new.js b/tooling/scripts/new.js
index fa4b63c..1aea3da 100644
--- a/tooling/scripts/new.js
+++ b/tooling/scripts/new.js
@@ -31,13 +31,11 @@ var args = WScript.Arguments,
     //Subfolder containing example project
     EXAMPLE_PATH = '\\example';
 // git repo for cordova-wp8
-var CORDOVA_WP8 = 'git://github.com/apache/cordova-wp8.git';
+var CORDOVA_WP8 = 'https://git-wip-us.apache.org/repos/asf/cordova-wp8.git';
 //Destination to build to
 var BUILD_DESTINATION;
 // pull the project down from github?
 var GET_NEW = false;
-//Add templates to visual studio?
-var ADD_TO_VS = false;
 
 // help function
 function Usage()
@@ -62,7 +60,7 @@ function read(filename) {
     }
     else
     {
-        WScript.StdOut.WriteLine('Cannot read non-existant file : ' + filename);
+        WScript.StdErr.WriteLine('Cannot read non-existant file : ' + filename);
         WScript.Quit(1);
     }
     return null;
@@ -102,7 +100,7 @@ if(args.Count() > 0)
 {
     if(fso.FolderExists(args(0)))
     {
-        WScript.StdOut.WriteLine("The given directory already exists!");
+        WScript.StdErr.WriteLine("The given directory already exists!");
         Usage();
         WScript.Quit(1);
     }
@@ -116,7 +114,7 @@ if(args.Count() > 0)
 
         if(fso.FolderExists(BUILD_DESTINATION))
         {
-            WScript.StdOut.WriteLine("The given directory already exists!");
+            WScript.StdErr.WriteLine("The given directory already exists!");
             Usage();
             WScript.Quit(1);
         }
@@ -138,7 +136,7 @@ if(args.Count() > 0)
         WScript.StdOut.WriteLine('Cloning cordova-wp8 from git, build destination now ' +
BUILD_DESTINATION);
         if(fso.FolderExists(BUILD_DESTINATION))
         {
-            WScript.StdOut.WriteLine("Could not clone cordova-wp8 from git because it's directory
already exists!");
+            WScript.StdErr.WriteLine("Could not clone cordova-wp8 from git because it's directory
already exists!");
             WScript.Quit(1);
         }
 


Mime
View raw message