[Setup] Basic Linux support #16

Merged
javier merged 7 commits from setup/basic-linux-support into main 2023-04-28 23:50:37 +00:00
5 changed files with 10 additions and 0 deletions
Showing only changes of commit a93e5a1cb2 - Show all commits

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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