splash/Package.swift
John Sundell 8e7599150f
Add SplashMarkdown (#57)
This change adds a new command line tool to the Splash family:
`SplashMarkdown`.

It’s an adapted version of the tool that I’ve been using for months to
publish every article on Swift by Sundell, and works by replacing all
code blocks within a Markdown file.

Adding this will hopefully make Splash even easier to use, without the
need for writing custom tooling, or to manually replace each code block
within a Markdown file with a “splashed” version.
2019-03-15 20:24:53 +01:00

40 lines
825 B
Swift

// swift-tools-version:4.2
/**
* Splash
* Copyright (c) John Sundell 2018
* MIT license - see LICENSE.md
*/
import PackageDescription
let package = Package(
name: "Splash",
products: [
.library(name: "Splash", targets: ["Splash"])
],
targets: [
.target(name: "Splash"),
.target(
name: "SplashMarkdown",
dependencies: ["Splash"]
),
.target(
name: "SplashHTMLGen",
dependencies: ["Splash"]
),
.target(
name: "SplashImageGen",
dependencies: ["Splash"]
),
.target(
name: "SplashTokenizer",
dependencies: ["Splash"]
),
.testTarget(
name: "SplashTests",
dependencies: ["Splash"]
)
]
)