vapor / auth

👤 Authentication and Authorization framework for Fluent.
53 stars 34 forks source link

Auth doesn't finish build with vapor 4 #70

Closed jochenkiene closed 5 years ago

jochenkiene commented 5 years ago

I have the following testing Vapor App:

import PackageDescription

let package = Package(
    name: "VaporKirchenmusikServer",
    platforms: [
        .macOS(.v10_14)
    ],
    dependencies: [
        // 💧 A server-side Swift web framework.
        .package(url: "https://github.com/vapor/vapor.git", from: "4.0.0-beta"),
        .package(url: "https://github.com/vapor/fluent.git", from: "4.0.0-beta"),
        .package(url: "https://github.com/vapor/auth.git", .branch("master")),
        //.package(url: "https://github.com/vapor/fluent-postgres-driver.git", from: "2.0.0-beta")
        .package(url: "https://github.com/vapor/fluent-sqlite-driver.git", from: "4.0.0-beta")
    ],
    targets: [
        .target(name: "App", dependencies: ["Fluent", "FluentSQLiteDriver", "Vapor", "OpenCrypto", "Auth"]),
        .target(name: "Run", dependencies: ["App"]),
        .testTarget(name: "AppTests", dependencies: ["App"])
    ]
)

vapor-beta build is working eternal on this.

vzsg commented 5 years ago

That's because vapor/auth was merged into vapor/vapor for v4, so you no longer have to add a separate dependency for it.