Skip to content

Commit 1d9090e

Browse files
committedJan 27, 2022
[project] init project
1 parent 45b2b36 commit 1d9090e

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
 

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ playground.xcworkspace
4444
#
4545
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
4646
# hence it is not needed unless you have added a package configuration file to your project
47-
# .swiftpm
47+
.swiftpm
4848

4949
.build/
5050

‎Package.swift

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// swift-tools-version:5.4
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "Pinata",
8+
platforms: [.iOS(.v13), .macOS(.v10_15)],
9+
products: [
10+
// Products define the executables and libraries a package produces, and make them visible to other packages.
11+
.library(
12+
name: "Pinata",
13+
targets: ["Pinata"]),
14+
],
15+
dependencies: [
16+
// Dependencies declare other packages that this package depends on.
17+
// .package(url: /* package url */, from: "1.0.0"),
18+
],
19+
targets: [
20+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
21+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
22+
.target(
23+
name: "Pinata",
24+
dependencies: []),
25+
.testTarget(
26+
name: "PinataTests",
27+
dependencies: ["Pinata"]),
28+
]
29+
)

0 commit comments

Comments
 (0)
Please sign in to comment.