You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ivan Baktsheev (JIRA)" <ji...@apache.org> on 2013/09/18 00:53:53 UTC

[jira] [Commented] (CB-4604) CLI should be able to run node hooks on windows without needing a .bat/.cmd file

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

Ivan Baktsheev commented on CB-4604:
------------------------------------

hi

just submitted a pull request for this

https://github.com/apache/cordova-cli/pull/40
                
> CLI should be able to run node hooks on windows without needing a .bat/.cmd file
> --------------------------------------------------------------------------------
>
>                 Key: CB-4604
>                 URL: https://issues.apache.org/jira/browse/CB-4604
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>         Environment: Windows
>            Reporter: Andrew Grieve
>            Assignee: Braden Shepherdson
>            Priority: Minor
>
> Scripts are a bit more annoying on windows due to the lack of hash bang support.
> For node-based hooks, it would be nice if CLI provided hash-bang support.
> e.g. Look if first line contains #!.*node
> If so, then run the hook with node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira