[ 
https://issues.apache.org/jira/browse/CB-8457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317296#comment-14317296
 ] 

ASF GitHub Bot commented on CB-8457:
------------------------------------

GitHub user cjpearson opened a pull request:

    https://github.com/apache/cordova-lib/pull/165

    CB-8457: Ignore version specifier when running hooks

    Trims the version specifier when running hooks. This allows platform add 
hooks to run when a version specific platform add command is used.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cjpearson/cordova-lib master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/165.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 #165
    
----
commit 35f831604b9b2254fe8f1eac59e92eef9fdeef35
Author: Connor Pearson <[email protected]>
Date:   2015-02-12T00:50:32Z

    CB-8457: Ignore version specifier when running hooks

----


> Version specifier causes platform add hook to not run
> -----------------------------------------------------
>
>                 Key: CB-8457
>                 URL: https://issues.apache.org/jira/browse/CB-8457
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>         Environment: OSX 10.10
>            Reporter: Connor Pearson
>
> Using cordova 4.2.0, I have a hook in config.xml defined like this:
> <platform name="ios">
>     <hook type="after_platform_add" src="build/script.rb" />
> </platform>
> Running 'cordova platform add ios' causes this script to be run, but 'cordova 
> platform add [email protected]' does not. If this is intended behavior, how can I set 
> up the hook to run on any platform add of ios?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to