Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Avoid checking in source code from Swift Package Manager dependencies.
Packages/
.build/

# CocoaPods
Expand Down
9 changes: 9 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import PackageDescription

let package = Package(
name: "ReactiveAlamofire",
dependencies: [
.Package(url: "https://github.com/ReactiveKit/ReactiveKit.git", majorVersion: 3),
.Package(url: "https://github.com/Alamofire/Alamofire.git", majorVersion: 4, minor: 2)
]
)
1 change: 1 addition & 0 deletions Sources/Request.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
// THE SOFTWARE.
//

import Cocoa
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this required? I don't think it will compile in iOS targets.

import Alamofire
import ReactiveKit

Expand Down