-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
e7199b0
commit 35a93f3
Showing
2 changed files
with
51 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ excluded: | |
- Tests | ||
- Package.swift | ||
- [email protected] | ||
- [email protected] | ||
- .build | ||
|
||
# Rules | ||
|
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,50 @@ | ||
// swift-tools-version: 5.8 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "NetworkLayer", | ||
platforms: [ | ||
.macOS(.v10_15), | ||
.iOS(.v13), | ||
.watchOS(.v7), | ||
.tvOS(.v13), | ||
], | ||
products: [ | ||
.library(name: "NetworkLayer", targets: ["NetworkLayer"]), | ||
.library(name: "NetworkLayerInterfaces", targets: ["NetworkLayerInterfaces"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/space-code/atomic", .upToNextMajor(from: "1.0.0")), | ||
.package(url: "https://github.com/space-code/typhoon", .upToNextMajor(from: "1.0.0")), | ||
.package(url: "https://github.com/WeTransfer/Mocker", .upToNextMajor(from: "3.0.1")), | ||
], | ||
targets: [ | ||
.target( | ||
name: "NetworkLayer", | ||
dependencies: [ | ||
"NetworkLayerInterfaces", | ||
.product(name: "Atomic", package: "atomic"), | ||
.product(name: "Typhoon", package: "typhoon"), | ||
] | ||
), | ||
.target( | ||
name: "NetworkLayerInterfaces", | ||
dependencies: [ | ||
.product(name: "Typhoon", package: "typhoon"), | ||
] | ||
), | ||
.testTarget( | ||
name: "NetworkLayerTests", | ||
dependencies: [ | ||
"NetworkLayer", | ||
.product(name: "Mocker", package: "Mocker"), | ||
.product(name: "Typhoon", package: "typhoon"), | ||
], | ||
resources: [ | ||
.process("Resources"), | ||
] | ||
), | ||
] | ||
) |