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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-cli
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: