Skip to content

Commit

Permalink
[SwiftPM] Add Package.swift and .swift-version
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed May 18, 2017
1 parent 6891bbf commit bcf94d3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Xcode
#
build/
.build/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand Down
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.2
27 changes: 27 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import PackageDescription

let package = Package(
name: "Carthage",
targets: [
Target(name: "XCDBLD"),
Target(name: "CarthageKit", dependencies: [ "XCDBLD" ]),
Target(name: "carthage", dependencies: [ "XCDBLD", "CarthageKit" ]),
],
dependencies: [
.Package(url: "https://github.com/antitypical/Result.git", majorVersion: 3, minor: 2),
.Package(url: "https://github.com/Carthage/ReactiveTask.git", versions: Version(0, 11, 1)..<Version(0, 11, .max)),
.Package(url: "https://github.com/Carthage/Commandant.git", majorVersion: 0, minor: 12),
.Package(url: "https://github.com/jdhealy/PrettyColors.git", majorVersion: 5),
.Package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", majorVersion: 1, minor: 1),
.Package(url: "https://github.com/mdiep/Tentacle.git", majorVersion: 0, minor: 6),
.Package(url: "https://github.com/thoughtbot/Argo.git", majorVersion: 4, minor: 1),
.Package(url: "https://github.com/thoughtbot/Runes.git", versions: Version(4, 0, 1)..<Version(4, .max, .max)),
],
exclude: [
"Source/CarthageIntegration",
"Source/CarthageKitTests",
"Source/Scripts",
"Source/XCDBLDTests",
"Source/carthage/swift-is-crashy.c",
]
)

0 comments on commit bcf94d3

Please sign in to comment.