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.resolved b/Package.resolved new file mode 100644 index 0000000..b33c728 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,34 @@ +{ + "object": { + "pins": [ + { + "package": "BrightFutures", + "repositoryURL": "https://github.com/Thomvis/BrightFutures.git", + "state": { + "branch": null, + "revision": "9279defa6bdc21501ce740266e5a14d0119ddc63", + "version": "8.0.1" + } + }, + { + "package": "FileKit", + "repositoryURL": "https://github.com/nvzqz/FileKit.git", + "state": { + "branch": null, + "revision": "826d9161b184509f80d85c28cd612d630646de98", + "version": "6.0.0" + } + }, + { + "package": "Kanna", + "repositoryURL": "https://github.com/tid-kijyun/Kanna.git", + "state": { + "branch": null, + "revision": "9b8f73f8c8e145dc496565bbf878a709793e7ba3", + "version": "5.0.0" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift index 6981c9d..00f2497 100644 --- a/Package.swift +++ b/Package.swift @@ -1,30 +1,19 @@ -// Package.swift -/* - The MIT License (MIT) - Copyright (c) 2016 Eric Marchand (phimage) - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER 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. - */ - +// swift-tools-version:5.1 import PackageDescription let package = Package( name: "Erik", + products: [ + .library(name: "Erik", targets: ["Erik"]), + ], dependencies: [ - .Package(url: "https://github.com/tid-kijyun/Kanna.git", majorVersion: 4), - .Package(url: "https://github.com/Thomvis/BrightFutures.git", majorVersion: 6) + .package(url: "https://github.com/tid-kijyun/Kanna.git", .upToNextMajor(from: "5.0.0")), + .package(url: "https://github.com/Thomvis/BrightFutures.git", .upToNextMajor(from: "8.0.0")), + .package(url: "https://github.com/nvzqz/FileKit.git", .upToNextMajor(from: "6.0.0")) + ], + targets: [ + .target(name: "Erik", dependencies: ["Kanna", "BrightFutures"], path: "Sources"), + .testTarget(name: "ErikTests", dependencies: ["Erik", "Kanna", "BrightFutures", "FileKit"], path: "ErikTests") ] ) +