2020-11-22 13:41:33 +03:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Tabs",
|
2020-11-22 17:03:37 +03:00
|
|
|
platforms: [.macOS(.v10_13)],
|
2020-11-22 13:41:33 +03:00
|
|
|
products: [
|
|
|
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
|
|
.library(
|
|
|
|
name: "Tabs",
|
|
|
|
targets: ["Tabs"]
|
|
|
|
),
|
|
|
|
],
|
|
|
|
dependencies: [
|
2020-11-22 17:03:37 +03:00
|
|
|
.package(name: "MaterialIcons", url: "https://github.com/qvacua/material-icons", .upToNextMinor(from: "0.1.0")),
|
|
|
|
.package(
|
|
|
|
name: "PureLayout",
|
|
|
|
url: "https://github.com/PureLayout/PureLayout",
|
|
|
|
.upToNextMinor(from: "3.1.6")
|
|
|
|
),
|
2020-11-22 13:41:33 +03:00
|
|
|
],
|
|
|
|
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: "Tabs",
|
2020-11-22 17:03:37 +03:00
|
|
|
dependencies: ["PureLayout", "MaterialIcons"]
|
2020-11-22 13:41:33 +03:00
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "TabsTests",
|
|
|
|
dependencies: ["Tabs"]
|
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|