8e7599150f
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.
27 lines
625 B
Swift
27 lines
625 B
Swift
/**
|
|
* Splash
|
|
* Copyright (c) John Sundell 2018
|
|
* MIT license - see LICENSE.md
|
|
*/
|
|
|
|
import XCTest
|
|
|
|
#if !os(macOS)
|
|
|
|
public func makeLinuxTests() -> [XCTestCaseEntry] {
|
|
return [
|
|
testCase(ClosureTests.allTests),
|
|
testCase(CommentTests.allTests),
|
|
testCase(DeclarationTests.allTests),
|
|
testCase(EnumTests.allTests),
|
|
testCase(FunctionCallTests.allTests),
|
|
testCase(LiteralTests.allTests),
|
|
testCase(OptionalTests.allTests),
|
|
testCase(PreprocessorTests.allTests),
|
|
testCase(StatementTests.allTests),
|
|
testCase(MarkdownTests.allTests)
|
|
]
|
|
}
|
|
|
|
#endif
|