Skip to content

Commit

Permalink
Add basic SPM support, closes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul committed Oct 24, 2018
1 parent 5fcf0ef commit 87baf59
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.build
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ xcode_project: GenericJSON.xcodeproj
xcode_scheme: "GenericJSON macOS"
after_success:
- bundle exec pod lib lint
- swift test
24 changes: 24 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version:4.0
import PackageDescription

let package = Package(
name: "GenericJSON",
products: [
.library(
name: "GenericJSON",
targets: ["GenericJSON"]),
],
dependencies: [],
targets: [
.target(
name: "GenericJSON",
dependencies: [],
path: "GenericJSON"
),
.testTarget(
name: "GenericJSONTests",
dependencies: ["GenericJSON"],
path: "GenericJSONTests"
)
]
)

0 comments on commit 87baf59

Please sign in to comment.