Skip to content

Commit

Permalink
allow run tests with swift package manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
guseducampos committed Mar 16, 2019
1 parent c315190 commit 0777445
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ import PackageDescription
let package = Package(
name: "Fakery",
products: [
.library(name: "Fakery", targets: ["Fakery"])
.library(name: "Fakery", targets: ["Fakery"])
],
dependencies: [
// Test dependencies
.package(url: "https://github.com/Quick/Quick.git", from: "2.0.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "8.0.0"),

],
targets: [
.target(name: "Fakery")
.target(name: "Fakery"),
.testTarget(name: "FakeryTests", dependencies: ["Fakery","Quick", "Nimble"], path: "Tests/Fakery")
]
)

0 comments on commit 0777445

Please sign in to comment.