Enable Splash to be compiled for iOS as a Swift Package (#70)
While Splash has supported iOS since its early days, this change makes it possible to compile the iOS version as a Swift Package, using Xcode 11. The changes require us to not make the assumption that != macOS == Linux. (Also git ignore the new `.swiftpm` directory that SwiftPM now uses)
This commit is contained in:
parent
ec13df124a
commit
6fcb458c63
|
@ -1,5 +1,6 @@
|
|||
.DS_Store
|
||||
/.build
|
||||
/Packages
|
||||
/.swiftpm
|
||||
/*.xcodeproj
|
||||
Package.resolved
|
||||
|
|
|
@ -9,7 +9,7 @@ import XCTest
|
|||
|
||||
/// Abstract base class for all Splash tests
|
||||
class SplashTestCase: XCTestCase {
|
||||
#if !os(Linux)
|
||||
#if os(macOS)
|
||||
func testHasLinuxVerificationTest() {
|
||||
let concreteType = type(of: self)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import XCTest
|
||||
|
||||
#if !os(macOS)
|
||||
#if os(Linux)
|
||||
|
||||
public func makeLinuxTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
|
|
Loading…
Reference in New Issue