You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2013/09/23 20:31:09 UTC

[jira] [Resolved] (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:all-tabpanel ]

Braden Shepherdson resolved CB-4604.
------------------------------------

    Resolution: Fixed

LGTM. I have rebased, patched to the new promises flow, and merged this.
                
> 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