Skip to content

Commit

Permalink
add PackageManager
Browse files Browse the repository at this point in the history
  • Loading branch information
muzle committed Mar 30, 2022
1 parent 597f555 commit 1d75727
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "ApiRouter",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "ApiRouter",
targets: ["NetworkApiRouter"]
),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "NetworkApiRouter",
dependencies: []
),
.testTarget(
name: "NetworkApiRouterTests",
dependencies: ["NetworkApiRouter"]
),
]
)
1 change: 1 addition & 0 deletions Sources/NetworkApiRouter
1 change: 1 addition & 0 deletions Tests/NetworkApiRouterTests

0 comments on commit 1d75727

Please sign in to comment.