Skip to content

Commit

Permalink
Implemented Swift Package Manager support
Browse files Browse the repository at this point in the history
  • Loading branch information
insidegui committed Dec 30, 2018
1 parent 2c23d54 commit 9e1854c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ docs/undocumented.json
## Gems
.bundle
vendor/bundle

## Swift Package build
.build
22 changes: 22 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// swift-tools-version:4.2

import PackageDescription

let package = Package(
name: "DifferenceKit",
products: [
.library(name: "DifferenceKit", targets: ["DifferenceKit"])
],
targets: [
.target(
name: "DifferenceKit",
path: "Sources",
exclude: ["Extensions"]
),
.testTarget(
name: "DifferenceKitTests",
dependencies: ["DifferenceKit"],
path: "Tests"
)
]
)

0 comments on commit 9e1854c

Please sign in to comment.