forked from tristanhimmelman/AlamofireObjectMapper
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// 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: "AlamofireObjectMapper", | ||
platforms: [ | ||
.iOS(.v10), | ||
.tvOS(.v10), | ||
.watchOS(.v3), | ||
.macOS(.v10_12), | ||
], | ||
products: [ | ||
.library( | ||
name: "AlamofireObjectMapper", | ||
targets: ["AlamofireObjectMapper"] | ||
) | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.1.0")), | ||
//.package(url: "https://github.com/tristanhimmelman/ObjectMapper.git", .upToNextMajor(from: "3.5.1")), | ||
.package(url: "https://github.com/openium/ObjectMapper.git", .branch("master")), | ||
], | ||
targets: [ | ||
.target( | ||
name: "AlamofireObjectMapper", | ||
dependencies: ["Alamofire", "ObjectMapper"], | ||
path: "AlamofireObjectMapper" | ||
), | ||
.testTarget( | ||
name: "AlamofireObjectMapperTest", | ||
dependencies: ["AlamofireObjectMapper"], | ||
path: "AlamofireObjectMapperTests" | ||
) | ||
|
||
], | ||
swiftLanguageVersions: [.v5] | ||
) |
a657b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi kenji21
I think you should create a version with SPM support. 6.0.0 is not supported SPM.
a657b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand, what should be at version 6.0.0 ?
a657b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, you want me to create a 6.1.0 tag in this fork ?
a657b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly, thanks.
a657b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm, I prefer not to, as it points to:
but you could specify this commit like this in your Package.swift:
For reference: https://github.com/apple/swift-package-manager/blob/master/Documentation/PackageDescription.md