Skip to content

Commit

Permalink
add swift pm support
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-gallagher committed Aug 4, 2019
1 parent e746ac9 commit d59fe2d
Show file tree
Hide file tree
Showing 30 changed files with 64 additions and 7 deletions.
25 changes: 25 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "Nimble",
"repositoryURL": "https://github.com/Quick/Nimble",
"state": {
"branch": null,
"revision": "f8657642dfdec9973efc79cc68bcef43a653a2bc",
"version": "8.0.2"
}
},
{
"package": "Quick",
"repositoryURL": "https://github.com/Quick/Quick",
"state": {
"branch": null,
"revision": "94df9b449508344667e5afc7e80f8bcbff1e4c37",
"version": "2.1.0"
}
}
]
},
"version": 1
}
33 changes: 33 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Shuffle",
platforms: [
.iOS(.v9)
],
products: [
.library(
name: "Shuffle",
targets: ["Shuffle"]),
],
dependencies: [
.package(url: "https://github.com/Quick/Quick", from: "2.1.0"),
.package(url: "https://github.com/Quick/Nimble", from: "8.0.2")
],
targets: [
.target(
name: "Shuffle",
dependencies: []),
.testTarget(
name: "ShuffleTests",
dependencies: [
"Shuffle",
"Quick",
"Nimble"
]
)
]
)
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<a href="https://developer.apple.com/swift"><img alt="Swift 5" src="https://img.shields.io/badge/language-Swift_5-orange.svg"/></a>
<a href="https://cocoapods.org/pods/MultiProgressView"><img alt="CocoaPods" src="https://img.shields.io/cocoapods/v/Shuffle-iOS.svg"/></a>
<a href="https://github.com/Carthage/Carthage"><img alt="Carthage" src="https://img.shields.io/badge/carthage-compatible-4BC51D.svg?style=flat)"/></a>
<!--<a href="https://swift.org/package-manager"><img alt="Swift Package Manager" src="https://img.shields.io/badge/swift pm-compatible-yellow.svg"/></a>-->
<a href="https://swift.org/package-manager"><img alt="Swift Package Manager" src="https://img.shields.io/badge/swift pm-compatible-yellow.svg"/></a>
</br>
<!--<a href="https://travis-ci.org/mac-gallagher/MultiProgressView"><img alt="Build Status" src="https://travis-ci.com/mac-gallagher/MultiProgressView.svg?branch=master"/></a>
--><a href="https://cocoapods.org/pods/MultiProgressView"><img alt="Platform" src="https://img.shields.io/cocoapods/p/Shuffle-iOS.svg"/></a>
Expand Down Expand Up @@ -164,7 +164,6 @@ Shuffle is available through [Carthage](<https://github.com/Carthage/Carthage>).

github "mac-gallagher/Shuffle"

<!--
### Swift Package Manager
MultiProgressView is available through [Swift PM](<https://swift.org/package-manager/>). To install it, simply add the package as a dependency in `Package.swift`:

Expand All @@ -173,7 +172,7 @@ dependencies: [
.package(url: "https://github.com/mac-gallagher/Shuffle.git", from: "0.1.0"),
]
```
-->

### Manual
Download and drop the `Shuffle` directory into your project.

Expand Down
8 changes: 4 additions & 4 deletions Shuffle.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
AD0542BC2271397900B42353 /* Tests */ = {
isa = PBXGroup;
children = (
AD18F0DD22B9F85E007BACE9 /* Shuffle */,
AD18F0DD22B9F85E007BACE9 /* ShuffleTests */,
AD18F0E022B9F8D2007BACE9 /* Supporting Files */,
);
path = Tests;
Expand Down Expand Up @@ -279,14 +279,14 @@
path = Specs;
sourceTree = "<group>";
};
AD18F0DD22B9F85E007BACE9 /* Shuffle */ = {
AD18F0DD22B9F85E007BACE9 /* ShuffleTests */ = {
isa = PBXGroup;
children = (
AD42DEB822D97DD6007A82E8 /* Shared */,
ADCEAE2422A1B8D4002A5F82 /* SwipeCard */,
ADEE86D822ADEC8500AAE7A1 /* SwipeCardStack */,
);
path = Shuffle;
path = ShuffleTests;
sourceTree = "<group>";
};
AD18F0DE22B9F874007BACE9 /* Shuffle */ = {
Expand Down Expand Up @@ -436,7 +436,7 @@
AD18F0E122B9F957007BACE9 /* TinderExample */,
AD72AC932270FC7C0083E735 /* Supporting Files */,
);
name = "Example for Shuffle";
name = "Example for Shuffle";
path = Example;
sourceTree = "<group>";
};
Expand Down

0 comments on commit d59fe2d

Please sign in to comment.