8bc46cbeb0
This change adds SwiftLint to the project. For now, the rules are tweaked to match the current state of the code base — but will over time be changed back to their defaults in several cases. Some smaller changes (mostly related to code style) were applied to the project to remove all warnings.
36 lines
724 B
Swift
36 lines
724 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: "SplashHTMLGen",
|
|
dependencies: ["Splash"]
|
|
),
|
|
.target(
|
|
name: "SplashImageGen",
|
|
dependencies: ["Splash"]
|
|
),
|
|
.target(
|
|
name: "SplashTokenizer",
|
|
dependencies: ["Splash"]
|
|
),
|
|
.testTarget(
|
|
name: "SplashTests",
|
|
dependencies: ["Splash"]
|
|
)
|
|
]
|
|
)
|