-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathPackage.swift
48 lines (46 loc) · 1.38 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// swift-tools-version:5.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "InstantSearch",
platforms: [
.iOS(.v9),
.macOS(.v10_10),
.watchOS(.v2),
.tvOS(.v9)
],
products: [
.library(
name: "InstantSearch",
targets: ["InstantSearch", "InstantSearchCore"]),
.library(
name: "InstantSearchCore",
targets: ["InstantSearchCore"]),
.library(
name: "InstantSearchInsights",
targets: ["InstantSearchInsights"])
],
dependencies: [
.package(name: "AlgoliaSearchClient", url:"https://github.com/algolia/algoliasearch-client-swift", from: "8.2.0")
],
targets: [
.target(
name: "InstantSearchInsights",
dependencies: ["AlgoliaSearchClient"]),
.target(
name: "InstantSearchCore",
dependencies: ["AlgoliaSearchClient", "InstantSearchInsights"]),
.target(
name: "InstantSearch",
dependencies: ["InstantSearchCore"]),
.testTarget(
name: "InstantSearchInsightsTests",
dependencies: ["InstantSearchInsights", "AlgoliaSearchClient"]),
.testTarget(
name: "InstantSearchCoreTests",
dependencies: ["InstantSearchCore", "AlgoliaSearchClient", "InstantSearchInsights"]),
.testTarget(
name: "InstantSearchTests",
dependencies: ["InstantSearch"])
]
)