cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ger...@apache.org
Subject [3/3] cordova-cli git commit: add shrinkwrap
Date Mon, 23 Feb 2015 22:30:34 GMT
add shrinkwrap

adds shrinkwrap flag for plugins


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

Branch: refs/heads/master
Commit: ee7b19b343486d5b9c3ca99c138f9aa10a027cb6
Parents: 44e0f1c
Author: Gorkem Ercan <gorkem.ercan@gmail.com>
Authored: Thu Feb 19 12:57:41 2015 -0500
Committer: Gorkem Ercan <gorkem.ercan@gmail.com>
Committed: Thu Feb 19 12:57:41 2015 -0500

----------------------------------------------------------------------
 doc/plugin.txt | 1 +
 src/cli.js     | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/ee7b19b3/doc/plugin.txt
----------------------------------------------------------------------
diff --git a/doc/plugin.txt b/doc/plugin.txt
index 6f28c9c..73d9689 100644
--- a/doc/plugin.txt
+++ b/doc/plugin.txt
@@ -20,6 +20,7 @@ Manage project plugins
                                                     instead of copying files. The extent
to which files are linked vs copied
                                                     varies by platform. Useful for plugin
development.
         [--save] .................................. save the information for specified plugin
into config.xml
+        [--shrinkwrap] ............................ used together with --save, saves the
installed version number to config.xml
 
 
 

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/ee7b19b3/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index f76de61..8f6f87a 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -293,6 +293,7 @@ function cli(inputArgs) {
                             , browserify: args.browserify || false
                             , link: args.link || false
                             , save: args.save || false
+                            , shrinkwrap: args.shrinkwrap || false
                             };
         cordova.raw[cmd](subcommand, targets, download_opts).done();
     }


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


Mime
View raw message