-
Notifications
You must be signed in to change notification settings - Fork 6
/
Package.swift
41 lines (39 loc) · 1.78 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
// swift-tools-version:5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "EverscaleClientSwift",
platforms: [
.macOS(SupportedPlatform.MacOSVersion.v12),
.iOS(SupportedPlatform.IOSVersion.v13)
],
products: [
.library(name: "EverscaleClientSwift", targets: ["EverscaleClientSwift"]),
],
dependencies: [
.package(url: "https://github.com/nerzh/swift-regular-expression.git", .upToNextMajor(from: "0.2.4")),
.package(url: "https://github.com/nerzh/SwiftFileUtils", .upToNextMajor(from: "1.3.0")),
.package(url: "https://github.com/bytehubio/BigInt", exact: "5.3.0"),
.package(url: "https://github.com/nerzh/swift-extensions-pack", .upToNextMajor(from: "1.25.2")),
],
targets: [
.systemLibrary(name: "CTonSDK", pkgConfig: "libton_client"),
.target(
name: "EverscaleClientSwift",
dependencies: [
.byName(name: "CTonSDK"),
.product(name: "SwiftRegularExpression", package: "swift-regular-expression"),
.product(name: "BigInt", package: "BigInt"),
.product(name: "SwiftExtensionsPack", package: "swift-extensions-pack"),
]),
.testTarget(
name: "EverscaleClientSwiftTests",
dependencies: [
.product(name: "SwiftRegularExpression", package: "swift-regular-expression"),
.byName(name: "EverscaleClientSwift"),
.product(name: "FileUtils", package: "SwiftFileUtils"),
.product(name: "BigInt", package: "BigInt"),
.product(name: "SwiftExtensionsPack", package: "swift-extensions-pack"),
]),
]
)