[Setup] Basic Linux support #16
@ -10,6 +10,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
|
||||||
import Communications
|
import Communications
|
||||||
import Foundation
|
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
|
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.
|
/// 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 Communications
|
||||||
import Foundation
|
import Foundation
|
||||||
import XCTest
|
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 Communications
|
||||||
import Foundation
|
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 Communications
|
||||||
import Foundation
|
import Foundation
|
||||||
import XCTest
|
import XCTest
|
||||||
@ -521,3 +522,4 @@ final class AmiiboServiceTests: XCTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user