forked from FeatherCMS/feather-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
71 lines (68 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
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "feather-core",
platforms: [
.macOS(.v12),
],
products: [
.executable(name: "FeatherCli", targets: ["FeatherCli"]),
.library(name: "FeatherIcons", targets: ["FeatherIcons"]),
.library(name: "FeatherCoreApi", targets: ["FeatherCoreApi"]),
.library(name: "FeatherCoreSdk", targets: ["FeatherCoreSdk"]),
.library(name: "FeatherCore", targets: ["FeatherCore"]),
.library(name: "XCTFeather", targets: ["XCTFeather"]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor", from: "4.55.0"),
.package(url: "https://github.com/vapor/fluent", from: "4.4.0"),
.package(url: "https://github.com/binarybirds/liquid", from: "1.3.0"),
.package(url: "https://github.com/binarybirds/swift-html", from: "1.6.0"),
// .package(url: "https://github.com/binarybirds/swift-css", from: "1.0.0"),
.package(url: "https://github.com/binarybirds/spec", from: "1.2.0"),
],
targets: [
.executableTarget(name: "FeatherCli", dependencies: [
.product(name: "Vapor", package: "vapor"),
.target(name: "FeatherCliGenerator"),
]),
.target(name: "FeatherIcons", dependencies: [
.product(name: "SwiftSvg", package: "swift-html"),
]),
.target(name: "FeatherCliGenerator", dependencies: []),
.target(name: "FeatherCoreApi", dependencies: []),
.target(name: "FeatherCoreSdk", dependencies: [
.target(name: "FeatherCoreApi"),
]),
.target(name: "FeatherCore", dependencies: [
.target(name: "FeatherIcons"),
.target(name: "FeatherCoreApi"),
.product(name: "Vapor", package: "vapor"),
.product(name: "Fluent", package: "fluent"),
.product(name: "Liquid", package: "liquid"),
.product(name: "SwiftHtml", package: "swift-html"),
.product(name: "SwiftSvg", package: "swift-html"),
.product(name: "SwiftRss", package: "swift-html"),
.product(name: "SwiftSitemap", package: "swift-html"),
// .product(name: "SwiftCss", package: "swift-css"),
], resources: [
.copy("Bundle"),
]),
.target(name: "XCTFeather", dependencies: [
.target(name: "FeatherCore"),
.product(name: "Spec", package: "spec"),
]),
.testTarget(name: "FeatherCoreTests", dependencies: [
.target(name: "FeatherCore"),
]),
.testTarget(name: "FeatherCoreSdkTests", dependencies: [
.target(name: "FeatherCoreSdk"),
]),
.testTarget(name: "FeatherCliGeneratorTests", dependencies: [
.target(name: "FeatherCliGenerator"),
]),
.testTarget(name: "XCTFeatherTests", dependencies: [
.target(name: "XCTFeather"),
])
]
)