GitHub user galexandrov opened a pull request:
https://github.com/apache/cordova-lib/pull/271
Add platform project instance in hook options context
Add platform project instance in hook options context for install/uninstall
plugman commands.
This is handy when you need to make changes on the project from the hook
script.
Sample scenario is when you need to change project file from hook script.
With this change it will be possible to get the parsed project file
``` javascript
var projectRoot = context.opts.projectRoot,
projectFile =
context.opts.cordova.project.parseProjectFile(projectRoot);
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Icenium/cordova-lib
galexandrov/extend-hook-options
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/271.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 #271
----
commit 2e3451a8fb0d8a146a30b8d7fc8175d04f8d8e8d
Author: Georgi Alexandrov <[email protected]>
Date: 2015-07-28T12:58:31Z
Add platform project instance in hook options context for install/uninstall
plugman commands
----
---
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]