Filtered out the AmiiboClient client and the AmiiboService service from Linux platform with pre-compiler processors.
This commit is contained in:
parent
b62c3c415b
commit
a93e5a1cb2
@ -10,6 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
|
||||
import Communications
|
||||
import Foundation
|
||||
|
||||
@ -76,3 +77,4 @@ private extension AmiiboClient {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
@ -10,6 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
|
||||
import Foundation
|
||||
|
||||
/// This service provides the interface to make remote API calls to the [Amiibo API](https://www.amiiboapi.com) and, subsequently, handle its responses.
|
||||
@ -125,3 +126,4 @@ extension AmiiboService: Service {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
@ -10,6 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
|
||||
import Communications
|
||||
import Foundation
|
||||
import XCTest
|
||||
@ -155,3 +156,4 @@ final class AmiiboClientTests: XCTestCase {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
@ -10,6 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
|
||||
import Communications
|
||||
import Foundation
|
||||
|
||||
@ -22,3 +23,4 @@ extension MockURLRequest {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
@ -10,6 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
|
||||
import Communications
|
||||
import Foundation
|
||||
import XCTest
|
||||
@ -521,3 +522,4 @@ final class AmiiboServiceTests: XCTestCase {
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user