diff --git a/Package.swift b/Package.swift index b1bfc74..c93a688 100644 --- a/Package.swift +++ b/Package.swift @@ -1,11 +1,14 @@ +// swift-tools-version:4.0 import PackageDescription let package = Package( name: "Result", + products: [ + .library(name: "Result", targets: ["Result"]), + ], targets: [ - Target( - name: "Result" - ) + .target(name: "Result", dependencies: [], path: "Result"), + .testTarget(name: "ResultTests", dependencies: ["Result"]), ], - swiftLanguageVersions: [3, 4] + swiftLanguageVersions: [4] )