Uploaded image for project: 'Swift'
  1. Swift
  2. SR-8139

Executable init template is broken when there is a dash in package name

    XMLWordPrintable

    Details

      Description

      Recent Swift package manager doesn't like projects with dashes.

      Steps To Reproduce:

      1. (set -e; rm -rf foo-bar; mkdir foo-bar; cd foo-bar; swift package init --type executable && swift test)

      Results:

      swift test couldn't find `foo_bar` executable, whereas `foo-bar` executable got built.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aciid Ankit Aggarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: