Skip to content
Snippets Groups Projects
Package.swift 878 B
Newer Older
  • Learn to ignore specific revisions
  • // swift-tools-version:5.2
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
    import PackageDescription
    
    let package = Package(
        name: "AppleLibs",
        platforms: [
    
            .iOS(.v11)
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
        ],
        products: [
            .library(
                name: "AppleLibs",
                targets: ["AppleLibs"]
            ),
        ],
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
        dependencies: [
            .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
    
            .package(url: "https://github.com/hmlongco/Resolver.git", from: "1.1.4"),
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
        ],
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
        targets: [
            .target(
                name: "AppleLibs",
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                dependencies: [
    
                    .product(name: "Logging", package: "swift-log"),
                    .product(name: "Resolver", package: "Resolver")
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                ],
    
    Tobias Ullerich's avatar
    Tobias Ullerich committed
                path: "AppleLibs"
            ),
            .testTarget(
                name: "AppleLibsTests",
                dependencies: ["AppleLibs"],
                path: "AppleLibsTests"
            ),
        ]
    )