// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "ahsheet",
    products: [
        .library(
            name: "ahsheet",
            targets: ["ahsheet"]
        )
    ],
    dependencies: [
        .package(url: "https://github.com/zeionara/google-auth-library-swift", .branch("master"))
        // .package(url: "/home/zeio/google-auth-library-swift", .branch("master"))
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages this package depends on.
        .target(
            name: "ahsheet",
            dependencies: [
                .product(name: "OAuth2", package: "google-auth-library-swift")
            ] // ["OAuthSwift"]
        ),
        .testTarget(
            name: "ahsheetTests",
            dependencies: ["ahsheet"]
        )
    ]
)
