Skip to content

Commit 2d9cf87

Browse files
authored
Merge pull request #19 from kiliankoe/master
Add SwiftPM package manifest
2 parents c85983d + d064a2e commit 2d9cf87

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Package.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// swift-tools-version:5.2
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: "Smile",
8+
products: [
9+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
10+
.library(
11+
name: "Smile",
12+
targets: ["Smile"]),
13+
],
14+
dependencies: [
15+
// Dependencies declare other packages that this package depends on.
16+
// .package(url: /* package url */, from: "1.0.0"),
17+
],
18+
targets: [
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
21+
.target(
22+
name: "Smile",
23+
dependencies: [],
24+
path: "Sources"),
25+
.testTarget(
26+
name: "SmileTests",
27+
dependencies: ["Smile"],
28+
path: "SmileTests"),
29+
]
30+
)

0 commit comments

Comments
 (0)