diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Package.swift b/Package.swift index 47ab400..686b2b7 100644 --- a/Package.swift +++ b/Package.swift @@ -1,3 +1,4 @@ +// swift-tools-version:5.1 // // Async.swift // @@ -23,9 +24,21 @@ // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - import PackageDescription let package = Package( - name: "Async" -) \ No newline at end of file + name: "Async", + platforms: [ + .macOS(.v10_10), + .iOS(.v8), + .watchOS(.v3), + .tvOS(.v9), + ], + products: [ + .library(name: "Async", targets: ["Async"]), + ], + targets: [ + .target(name: "Async"), + .testTarget(name: "AsyncTests", dependencies: ["Async"]) + ] +)