-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
32 lines (24 loc) · 992 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// swift-tools-version:5.7
import PackageDescription
var package = Package(
name: "LighterTestSuite",
platforms: [ .macOS(.v10_15), .iOS(.v13) ],
dependencies: [
.package(url: "https://github.com/Lighter-swift/Lighter.git", from: "1.0.2")
],
targets: [
.target(name : "ContactsTestDB",
dependencies : [ "Lighter" ],
exclude : [ "README.md",
"SubDir/OtherDB-v001.sql",
"SubDir/OtherDB-v002.sql",
"SubDir/OtherDB-v003.sql",
"NoSQL/CrashTestDummy.sql" ],
resources : [ .copy("ContactsDB.sqlite3"),
.copy("ContactsDB-AddView.sql") ],
plugins : [ .plugin(name: "Enlighter", package: "Lighter") ]),
// MARK: - Tests
.testTarget(name: "ContactsTestDBTests",
dependencies: [ "Lighter", "ContactsTestDB" ])
]
)