-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
65 lines (49 loc) · 2.14 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
// swift-tools-version:5.9
// Spin © 2019–2024 Constantino Tsarouhas
import PackageDescription
let package = Package(
name: "Spin",
platforms: [.macOS(.v14)],
products: [
/// A library for composing web applications from semantic building blocks.
.library(name: "Spin", targets: ["Spin"]),
/// A library for composing web documents from style- and action-tagged elements.
.library(name: "SpinDoc", targets: ["SpinDoc"]),
/// A library for composing HTML documents from standard elements.
.library(name: "SpinHTML", targets: ["SpinHTML"]),
/// A library for composing CSS stylesheets.
.library(name: "SpinCSS", targets: ["SpinCSS"]),
/// A library for expressing JS scripts.
.library(name: "SpinJS", targets: ["SpinJS"]),
/// A library for composing XML documents.
.library(name: "SpinXML", targets: ["SpinXML"]),
],
dependencies: [
.package(url: "https://github.com/ctxppc/conifer.git", branch: "development"),
.package(url: "https://github.com/ctxppc/depthkit.git", .upToNextMinor(from: "0.10.0")),
],
targets: [
.target(name: "Spin", dependencies: [
"SpinHTML",
], swiftSettings: [.enableUpcomingFeature("InternalImportsByDefault")]),
.target(name: "SpinDoc", dependencies: [
"SpinCSS",
"SpinHTML",
"SpinJS"
], swiftSettings: [.enableUpcomingFeature("InternalImportsByDefault"), .enableExperimentalFeature("AccessLevelOnImport")]),
.target(name: "SpinHTML", dependencies: [
"SpinXML",
], swiftSettings: [.enableUpcomingFeature("InternalImportsByDefault")]),
.testTarget(name: "SpinHTMLTests", dependencies: ["SpinHTML"]),
.target(name: "SpinCSS", dependencies: [
.product(name: "Conifer", package: "conifer"),
], swiftSettings: [.enableUpcomingFeature("InternalImportsByDefault")]),
.target(name: "SpinJS", dependencies: [
.product(name: "Conifer", package: "conifer"),
], swiftSettings: [.enableUpcomingFeature("InternalImportsByDefault")]),
.target(name: "SpinXML", dependencies: [
.product(name: "DepthKit", package: "depthkit"),
.product(name: "Conifer", package: "conifer"),
], swiftSettings: [.enableUpcomingFeature("InternalImportsByDefault")]),
]
)