Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-vasilev committed May 11, 2024
1 parent e7199b0 commit 35a93f3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ excluded:
- Tests
- Package.swift
- [email protected]
- [email protected]
- .build

# Rules
Expand Down
50 changes: 50 additions & 0 deletions [email protected]
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"),
]
),
]
)

0 comments on commit 35a93f3

Please sign in to comment.