Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platform project instance in hook options context #271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

galexandrov
Copy link
Contributor

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

var projectRoot = context.opts.projectRoot,
    projectFile = context.opts.cordova.project.parseProjectFile(projectRoot);

@galexandrov galexandrov force-pushed the galexandrov/extend-hook-options branch from 2e3451a to 4dc1c79 Compare July 28, 2015 15:56
@galexandrov
Copy link
Contributor Author

ping @omefire

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant