mirror of
https://github.com/laosb/TypedAppStorage.git
synced 2025-04-30 09:11:10 +00:00
30 lines
873 B
Swift
30 lines
873 B
Swift
// 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: "TypedAppStorage",
|
|
platforms: [
|
|
.iOS(.v14),
|
|
.macOS(.v11),
|
|
.macCatalyst(.v14),
|
|
.tvOS(.v14),
|
|
.watchOS(.v7)
|
|
],
|
|
products: [
|
|
// Products define the executables and libraries a package produces, making them visible to other packages.
|
|
.library(
|
|
name: "TypedAppStorage",
|
|
targets: ["TypedAppStorage"]),
|
|
],
|
|
targets: [
|
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
|
// Targets can depend on other targets in this package and products from dependencies.
|
|
.target(
|
|
name: "TypedAppStorage"),
|
|
.testTarget(
|
|
name: "TypedAppStorageTests",
|
|
dependencies: ["TypedAppStorage"]),
|
|
]
|
|
)
|