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

Allow selection of a specific versioned package manifest

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: Package Manager
    • Labels:
      None

      Description

      If I have versioned package manifests such as

      Package.swift                   // swift-tools-version:4.2
      Package@swift-3.1.swift
      Package@swift-4.swift

      There is currently no way to make `swift test` in previous-version compatibility mode so as to test behaviour in every case – this is obviously useful for a library that might be included by another package that itself still builds using a compatibility mode.

      The workaround is obviously to manipulate and rename package manifests, but that is less than desirable.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              glessard Guillaume Lessard
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: