Skip to content
Snippets Groups Projects
Package.swift 688 B
Newer Older
  • Learn to ignore specific revisions
  • Tobias Ullerich's avatar
    Tobias Ullerich committed
    // swift-tools-version:5.0
    import PackageDescription
    
    let package = Package(
        name: "AppleLibs",
        platforms: [
            .iOS(.v9)
        ],
        products: [
            .library(
                name: "AppleLibs",
                targets: ["AppleLibs"]
            ),
        ],
    
        dependencies: [
            .package(name: "Future", url: "https://github.com/kean/Future.git", .upToNextMajor(from: "1.4.0"))
        ],
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
        targets: [
            .target(
                name: "AppleLibs",
    
                dependencies: ["Future"],
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                path: "AppleLibs"
            ),
            .testTarget(
                name: "AppleLibsTests",
                dependencies: ["AppleLibs"],
                path: "AppleLibsTests"
            ),
        ]
    )