Skip to content

Commit a163f1e

Browse files
michaelnewFabien Legoupillot
authored andcommitted
Set a target in Package.swift so other projects can import Embassy (#74)
* Set swift tools version to 4.2 * Specify target and source path * Add products to swift package file
1 parent 4b51249 commit a163f1e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
// swift-tools-version:4.0
1+
// swift-tools-version:4.2
22
import PackageDescription
33

44
let package = Package(
5-
name: "Embassy"
5+
name: "Embassy",
6+
products: [.library(name: "Embassy", targets: ["Embassy"])],
7+
targets: [.target(name: "Embassy", path: "./Sources")]
68
)

0 commit comments

Comments
 (0)