Open f0rr0 opened 2 years ago
Swift Version 5.5.2 Komondor Version 1.1.3 Xcode Version 13.2
// swift-tools-version:5.5 import PackageDescription let package = Package( name: "kult", products: [ .executable(name: "app", targets: ["app-cli"]), ], dependencies: [ .package(url: "https://github.com/shibapm/Komondor.git", from: "1.1.3"), .package(url: "https://github.com/kylef/Commander", from: "0.9.1"), .package(url: "https://github.com/kareman/SwiftShell", from: "5.1.0"), ], targets: [ .target(name: "app-cli", dependencies: ["Commander", "SwiftShell"], path: "cli"), ] ) #if canImport(PackageConfig) import PackageConfig let config = PackageConfiguration([ "komondor": [ "pre-commit": [ "./scripts/format.sh", ], ], ]).write() #endif
Pretty sure you're missing this: https://github.com/shibapm/Komondor/blob/master/Package.swift#L12
Swift Version 5.5.2 Komondor Version 1.1.3 Xcode Version 13.2