You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#if canImport(PackageConfig)
import PackageConfig
letconfig=PackageConfig(["komondor":["pre-push":"swift test","pre-commit":["swift test","swift run swiftFormat .","swift run swiftlint autocorrect --path Sources/","git add .",],],])#endif
From this we can derive that swift run swiftlint and swift run swiftFormat rely on swift packages.
Komondor can batch look in the building folder to see if there are .build/*/[name].product but not .build/*/[name] and use swift build --product [name] to built them.
From this we can derive that
swift run swiftlint
andswift run swiftFormat
rely on swift packages.Komondor can batch look in the building folder to see if there are
.build/*/[name].product
but not.build/*/[name]
and useswift build --product [name]
to built them.See sourcekitten, swiftFormat and swiftlint:
The text was updated successfully, but these errors were encountered: