You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by galexandrov <gi...@git.apache.org> on 2015/07/28 16:14:02 UTC
[GitHub] cordova-lib pull request: Add platform project instance in hook op...
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 <ge...@telerik.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org
[GitHub] cordova-lib pull request: Add platform project instance in hook op...
Posted by galexandrov <gi...@git.apache.org>.
Github user galexandrov commented on the pull request:
https://github.com/apache/cordova-lib/pull/271#issuecomment-125624618
run ci
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org
[GitHub] cordova-lib pull request: Add platform project instance in hook op...
Posted by galexandrov <gi...@git.apache.org>.
Github user galexandrov commented on the pull request:
https://github.com/apache/cordova-lib/pull/271#issuecomment-137046802
ping @omefire
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org