-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
26 lines (24 loc) · 1.41 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
// swift-tools-version: 5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "RunestoneThemes",
platforms: [.iOS(.v14)],
products: [
.library(name: "RunestoneTomorrowTheme", targets: ["RunestoneTomorrowTheme"]),
.library(name: "RunestoneTomorrowNightTheme", targets: ["RunestoneTomorrowNightTheme"]),
.library(name: "RunestoneOneDarkTheme", targets: ["RunestoneOneDarkTheme"]),
.library(name: "RunestonePlainTextTheme", targets: ["RunestonePlainTextTheme"]),
.library(name: "RunestoneThemeCommon", targets: ["RunestoneThemeCommon"])
],
dependencies: [
.package(url: "https://github.com/simonbs/Runestone", from: "0.3.0"),
],
targets: [
.target(name: "RunestoneTomorrowTheme", dependencies: ["Runestone", "RunestoneThemeCommon"], resources: [.process("Colors.xcassets")]),
.target(name: "RunestoneTomorrowNightTheme", dependencies: ["Runestone", "RunestoneThemeCommon"], resources: [.process("Colors.xcassets")]),
.target(name: "RunestoneOneDarkTheme", dependencies: ["Runestone", "RunestoneThemeCommon"], resources: [.process("Colors.xcassets")]),
.target(name: "RunestonePlainTextTheme", dependencies: ["Runestone", "RunestoneThemeCommon"]),
.target(name: "RunestoneThemeCommon", dependencies: ["Runestone"])
]
)