Skip to content

Commit

Permalink
Really fixed SPM build
Browse files Browse the repository at this point in the history
  • Loading branch information
eBardX committed Jun 2, 2018
1 parent 4a53882 commit d375ef2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Package.swift
@@ -1,3 +1,5 @@
// swift-tools-version:4.0

//
// Package.swift
// XestiMonitors
Expand All @@ -11,13 +13,11 @@ import PackageDescription

let package = Package(name: "XestiMonitors",
products: [.library(name: "XestiMonitors",
type: .dynamic,
targets: ["XestiMonitors"])],
dependencies: [],
targets: [.target(name: "XestiMonitors",
dependencies: [],
path: "Sources/Core"),
.testTarget(name: "XestiMonitorsTests",
dependencies: ["XestiMonitors"],
path: "Tests")],
path: ".",
exclude: ["*.h", "*.m"],
sources: ["Sources/Core"])],
swiftLanguageVersions: [4])
2 changes: 2 additions & 0 deletions Sources/Core/DependencyInjection/FileSystem.swift
Expand Up @@ -7,6 +7,8 @@
// © 2018 J. G. Pusey (see LICENSE.md)
//

import Darwin

internal class FileSystem {

// MARK: Public Instance Methods
Expand Down
Expand Up @@ -7,6 +7,8 @@
// © 2018 J. G. Pusey (see LICENSE.md)
//

import Dispatch

internal protocol FileSystemObjectProtocol: class {
var data: DispatchSource.FileSystemEvent { get }

Expand Down
1 change: 1 addition & 0 deletions Sources/Core/Other/FileSystemObjectMonitor.swift
Expand Up @@ -8,6 +8,7 @@
//

import Dispatch
import Foundation

///
/// A `FileSystemObjectMonitor` instance monitors a file-system object for
Expand Down
1 change: 1 addition & 0 deletions Sources/Core/Other/NetworkReachabilityMonitor.swift
Expand Up @@ -9,6 +9,7 @@

#if os(iOS) || os(macOS) || os(tvOS)

import Foundation
import SystemConfiguration

///
Expand Down

0 comments on commit d375ef2

Please sign in to comment.