Skip to content

Commit

Permalink
Merge pull request #14 from typelift/swift-develop
Browse files Browse the repository at this point in the history
Update to Swift 4's Package Structure
  • Loading branch information
CodaFi authored Sep 22, 2017
2 parents 203fb0c + 75a15f6 commit c2a1491
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
Package.resolved

# CocoaPods
#
Expand Down
15 changes: 11 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import PackageDescription
// swift-tools-version:4.0

let package = Package(name: "Operadics")
import PackageDescription

let operadics = Product(name: "Operadics", type: .Library(.Dynamic), modules: "Operadics")
products.append(operadics)
let package = Package(
name: "Operadics",
products: [
.library(name: "Operadics", targets: ["Operadics"]),
],
targets: [
.target(name: "Operadics")
]
)
File renamed without changes.

0 comments on commit c2a1491

Please sign in to comment.