Skip to content

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