cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Koudritsky" <kam...@gmail.com>
Subject Review Request 16854: Use plugin search path in cordova-cli
Date Tue, 14 Jan 2014 05:34:51 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16854/
-----------------------------------------------------------

Review request for cordova.


Bugs: CB-5006
    https://issues.apache.org/jira/browse/CB-5006


Repository: cordova-cli


Description
-------

Same diff on github:
https://github.com/kamrik/cordova-cli/compare/searchpath

cordova plugin add will pass a plugin search path to plugman.
The search path is read from .cordova/config.json and can also be provided on the command
line using --searchpath flag
In order to store the search path in config.json, it can be passed as part of the object with
extra config to cordova create

Examples:
cordova plugin add org.apache.cordova.file --searchpath /some/dir/with/plugins
cordova.raw.create(dir, appId, appName, {plugin_search_path: ['/path1', '/path2']} )

Related plugman change: https://reviews.apache.org/r/16739/


Diffs
-----

  spec/cli.spec.js 1a00002 
  src/cli.js 2375337 
  src/plugin.js d0edf78 

Diff: https://reviews.apache.org/r/16854/diff/


Testing
-------

npm test
cordova create
cordova plugin add


Thanks,

Mark Koudritsky


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message