cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject cordova-cli git commit: CB-8634 Adds docs about support for custom branches for `cordova platform add`
Date Wed, 11 Mar 2015 10:32:20 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master 055878875 -> 2eaebd890


CB-8634 Adds docs about support for custom branches for `cordova platform add`

This closes #210


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

Branch: refs/heads/master
Commit: 2eaebd89064604e85ebde068b38a4ec080da2e61
Parents: 0558788
Author: Omar Mefire <ommenjik@microsoft.com>
Authored: Mon Mar 9 11:23:27 2015 -0700
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Wed Mar 11 13:31:58 2015 +0300

----------------------------------------------------------------------
 doc/platform.txt | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/2eaebd89/doc/platform.txt
----------------------------------------------------------------------
diff --git a/doc/platform.txt b/doc/platform.txt
index 9be5ad9..36f439f 100644
--- a/doc/platform.txt
+++ b/doc/platform.txt
@@ -29,11 +29,14 @@ Manage project platforms
 
 Syntax
     <plat-spec>:
-        <platform-ver>|<path>|<url>
+        <platform-ver>|<path>|<git-url>
 
     <platform-ver>:
         <platform>[@<version>]
 
+    <git-url>:
+        <url>[#<branch>]
+
     <platform> ........................ platform (typically from npm registry)
 
     <path> ............................ path to a directory containing a platform
@@ -42,6 +45,9 @@ Syntax
     <url> ............................. url to a git repository containing a platform
 
     <version> ......................... major.minor.patch version specifier
+
+    <branch> .......................... name of the branch to checkout after cloning
the git repo
+                                        if none is specified, the 'master' branch will be
checked out
 aliases:
     platforms -> platform
     rm -> remove


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message