GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-lib/pull/423
CB-11022 Improve performance of `cordova plugin add` command
This addresses [CB-11022](https://issues.apache.org/jira/browse/CB-11022)
and dramaticaly reduces time required for plugin installation (especially for
the projects with a lot of www assets) by skipping prepare after each plugin
install.
This change also requires a corresponding update for the platforms that
implement PlatformApi contract - they have to take care of installing (or
removing) their js and www files into both `www` and `platform_www` directories
and return any non-falsy value as a result of `addPlugin`/`removePlugin` methods
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-lib CB-11022
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/423.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #423
----
commit 161e5fd0f1ba3fe88ad74b1bd30182f91d7b8550
Author: Vladimir Kotikov <[email protected]>
Date: 2016-04-07T10:56:49Z
CB-11022 Respect result returned by plugin installation and skip prepare if
it is truthy
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]