Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4604

CLI should be able to run node hooks on windows without needing a .bat/.cmd file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None
    • Environment:

      Windows

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              shepheb Braden Shepherdson
              Reporter:
              agrieve Andrew Grieve
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: