-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
60 lines (57 loc) · 2.01 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
// swift-tools-version:5.5
//
// Software Name: Orange Design System
// SPDX-FileCopyrightText: Copyright (c) Orange SA
// SPDX-License-Identifier: MIT
//
// This software is distributed under the MIT license,
// the text of which is available at https://opensource.org/license/MIT/
// or see the "LICENSE" file for more details.
//
// Authors: See CONTRIBUTORS.txt
// Software description: A SwiftUI components library with code examples for Orange Design System
//
import PackageDescription
let package = Package(
name: "OrangeDesignSystem",
defaultLocalization: "en",
platforms: [.iOS(.v15)],
products: [
.library(
name: "OrangeDesignSystem",
targets: ["OrangeDesignSystem"]
),
.library(
name: "OrangeTheme",
targets: ["OrangeTheme"]
),
.library(
name: "InnovationCupTheme",
targets: ["InnovationCupTheme"]
),
],
dependencies: [
.package(url: "https://github.com/tevelee/SwiftUI-Flow", .exact("1.2.0")),
.package(url: "https://github.com/lucaszischka/BottomSheet", .exact("3.1.1")),
.package(url: "https://github.com/Orange-OpenSource/accessibility-statement-lib-ios.git", .exact("1.2.0"))
],
targets: [
.target(
name: "OrangeDesignSystem",
dependencies: ["BottomSheet",
.product(name: "DeclarationAccessibility", package: "accessibility-statement-lib-ios"),
.product(name: "Flow", package: "SwiftUI-Flow"),
],
path: "OrangeDesignSystem/Sources"),
.target(
name: "OrangeTheme",
dependencies: ["OrangeDesignSystem"],
path: "OrangeTheme/Sources",
resources: [.process("OrangeTheme/Resources/")]),
.target(
name: "InnovationCupTheme",
dependencies: ["OrangeDesignSystem"],
path: "InnovationCupTheme/Sources"),
],
swiftLanguageVersions: [.v5]
)