Skip to content

Commit

Permalink
Update package files for Swift 5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gfontenot committed Mar 19, 2019
1 parent 50db668 commit 7b29da1
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 1 deletion.
16 changes: 16 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "Runes",
"repositoryURL": "https://github.com/thoughtbot/Runes.git",
"state": {
"branch": null,
"revision": "9eb9cd44ea777cdfc2a7e2df07d4c34f3b46e6e5",
"version": "4.2.1"
}
}
]
},
"version": 1
}
12 changes: 11 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
// swift-tools-version:4.2

import PackageDescription

let package = Package(
name: "Argo",
products: [.library(name: "Argo", targets: ["Argo"])],
dependencies: [
.Package(url: "https://github.com/thoughtbot/Runes.git", majorVersion: 4)
.package(url: "https://github.com/thoughtbot/Runes.git", from: "4.2.1")
],
targets: [
.target(
name: "Argo",
dependencies: ["Runes"],
path: "Sources"
)
]
)
8 changes: 8 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import PackageDescription

let package = Package(
name: "Argo",
dependencies: [
.Package(url: "https://github.com/thoughtbot/Runes.git", majorVersion: 4)
]
)
18 changes: 18 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// swift-tools-version:4.0

import PackageDescription

let package = Package(
name: "Argo",
products: [.library(name: "Argo", targets: ["Argo"])],
dependencies: [
.package(url: "https://github.com/thoughtbot/Runes.git", from: "4.2.1")
],
targets: [
.target(
name: "Argo",
dependencies: ["Runes"],
path: "Sources"
)
]
)

0 comments on commit 7b29da1

Please sign in to comment.