Skip to content

Commit

Permalink
Set a target in Package.swift so other projects can import Embassy (#74)
Browse files Browse the repository at this point in the history
* Set swift tools version to 4.2

* Specify target and source path

* Add products to swift package file
  • Loading branch information
michaelnew authored and LFabien committed Jun 28, 2019
1 parent 4b51249 commit a163f1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// swift-tools-version:4.0
// swift-tools-version:4.2
import PackageDescription

let package = Package(
name: "Embassy"
name: "Embassy",
products: [.library(name: "Embassy", targets: ["Embassy"])],
targets: [.target(name: "Embassy", path: "./Sources")]
)

0 comments on commit a163f1e

Please sign in to comment.