forked from nerzh/everscale-client-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
41 lines (39 loc) · 1.62 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.4
// 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.v11),
.iOS(SupportedPlatform.IOSVersion.v10)
],
products: [
.library(name: "EverscaleClientSwift", targets: ["EverscaleClientSwift"]),
],
dependencies: [
.package(name: "SwiftRegularExpression", url: "https://github.com/nerzh/swift-regular-expression.git", .upToNextMajor(from: "0.2.4")),
.package(name: "FileUtils", url: "https://github.com/nerzh/SwiftFileUtils", .upToNextMinor(from: "1.3.0")),
.package(name: "BigInt", url: "https://github.com/bytehubio/BigInt", .exact("5.3.0")),
],
targets: [
.systemLibrary(name: "CTonSDK", pkgConfig: "libton_client"),
.target(
name: "EverscaleClientSwift",
dependencies: [
.byName(name: "CTonSDK"),
.product(name: "SwiftRegularExpression", package: "SwiftRegularExpression"),
.product(name: "BigInt", package: "BigInt"),
]),
.testTarget(
name: "EverscaleClientSwiftTests",
dependencies: [
.product(name: "SwiftRegularExpression", package: "SwiftRegularExpression"),
.byName(name: "EverscaleClientSwift"),
.product(name: "FileUtils", package: "FileUtils"),
.product(name: "BigInt", package: "BigInt"),
]),
],
swiftLanguageVersions: [
SwiftVersion.v5
]
)