7f87f191b6
* Update the project to Swift 5.4 - Splash now uses the Swift 5.4 toolchain. - Since Swift 5.4 now enables automatic test discovery on all supported platforms, all of the infrastructure that was previously used to maintain Linux unit testing compatibility has now been removed. * Remove LinuxMain.swift
44 lines
1.1 KiB
Swift
44 lines
1.1 KiB
Swift
// swift-tools-version:5.4
|
|
|
|
/**
|
|
* Splash
|
|
* Copyright (c) John Sundell 2018
|
|
* MIT license - see LICENSE.md
|
|
*/
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Splash",
|
|
products: [
|
|
.library(name: "Splash", targets: ["Splash"]),
|
|
.executable(name: "SplashMarkdown", targets: ["SplashMarkdown"]),
|
|
.executable(name: "SplashHTMLGen", targets: ["SplashHTMLGen"]),
|
|
.executable(name: "SplashImageGen", targets: ["SplashImageGen"]),
|
|
.executable(name: "SplashTokenizer", targets: ["SplashTokenizer"]),
|
|
],
|
|
targets: [
|
|
.target(name: "Splash"),
|
|
.executableTarget(
|
|
name: "SplashMarkdown",
|
|
dependencies: ["Splash"]
|
|
),
|
|
.executableTarget(
|
|
name: "SplashHTMLGen",
|
|
dependencies: ["Splash"]
|
|
),
|
|
.executableTarget(
|
|
name: "SplashImageGen",
|
|
dependencies: ["Splash"]
|
|
),
|
|
.executableTarget(
|
|
name: "SplashTokenizer",
|
|
dependencies: ["Splash"]
|
|
),
|
|
.testTarget(
|
|
name: "SplashTests",
|
|
dependencies: ["Splash"]
|
|
)
|
|
]
|
|
)
|