-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
92 lines (89 loc) · 2.91 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// swift-tools-version: 5.9.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// Copyright (c) 2023 - present, LLC “V Kontakte”
//
// 1. Permission is hereby granted to any person obtaining a copy of this Software to
// use the Software without charge.
//
// 2. Restrictions
// You may not modify, merge, publish, distribute, sublicense, and/or sell copies,
// create derivative works based upon the Software or any part thereof.
//
// 3. Termination
// This License is effective until terminated. LLC “V Kontakte” may terminate this
// License at any time without any negative consequences to our rights.
// You may terminate this License at any time by deleting the Software and all copies
// thereof. Upon termination of this license for any reason, you shall continue to be
// bound by the provisions of Section 2 above.
// Termination will be without prejudice to any rights LLC “V Kontakte” may have as
// a result of this agreement.
//
// 4. Disclaimer of warranty and liability
// THE SOFTWARE IS MADE AVAILABLE ON THE “AS IS” BASIS. LLC “V KONTAKTE” DISCLAIMS
// ALL WARRANTIES THAT THE SOFTWARE MAY BE SUITABLE OR UNSUITABLE FOR ANY SPECIFIC
// PURPOSES OF USE. LLC “V KONTAKTE” CAN NOT GUARANTEE AND DOES NOT PROMISE ANY
// SPECIFIC RESULTS OF USE OF THE SOFTWARE.
// UNDER NO CIRCUMSTANCES LLC “V KONTAKTE” BEAR LIABILITY TO THE LICENSEE OR ANY
// THIRD PARTIES FOR ANY DAMAGE IN CONNECTION WITH USE OF THE SOFTWARE.
//
import PackageDescription
let package = Package(
name: "VKID",
defaultLocalization: "ru",
platforms: [.iOS(.v12)],
products: [
.library(
name: "VKID",
targets: ["VKID"]
),
.library(
name: "VKIDCore",
targets: ["VKIDCore"]
),
],
dependencies: [
.package(
name: "testing-infra",
path: "scripts/testing-infra"
),
],
targets: [
.target(
name: "VKID",
dependencies: [
"VKIDCore",
],
path: "VKID/Sources",
resources: [.process("Resources")]
),
.testTarget(
name: "VKIDTests",
dependencies: [
"VKID",
.product(
name: "VKIDAllureReport",
package: "testing-infra"
),
],
path: "VKID/Tests"
),
.target(
name: "VKIDCore",
dependencies: [],
path: "VKIDCore/Sources",
resources: [.process("Resources")]
),
.testTarget(
name: "VKIDCoreTests",
dependencies: [
"VKIDCore",
.product(
name: "VKIDAllureReport",
package: "testing-infra"
),
],
path: "VKIDCore/Tests"
),
]
)