mirror of
https://github.com/laosb/TypedAppStorage.git
synced 2025-07-18 04:52:39 +00:00
Init.
This commit is contained in:
parent
68741ad06d
commit
2c5ce337e8
6 changed files with 254 additions and 27 deletions
|
@ -1,23 +1,30 @@
|
|||
// swift-tools-version: 5.9
|
||||
// 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",
|
||||
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"]),
|
||||
]
|
||||
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"]),
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue