在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:shibapm/Komondor开源软件地址:https://github.com/shibapm/Komondor开源编程语言:Swift 100.0%开源软件介绍:KomondorGit Hook automation for Swift and Xcode projects. A port of Husky to Swift. TL:DR
Then you'll get git-hooks consolidated and centralized so that everyone can work with the same tooling. Why?
Git Hooks like what Komondor provides gives you more surface area for per-project automation. Komondor provides an easily understood way to see how all the git automation touch-points in your project will come together. These hooks allow for much faster feedback during development and let different team-members to use different tools but still have the same bar of quality. For example, adding SwiftFormat to your Another example, running tests before pushing - this means you don't have to come back 10-15m later once CI has told you that you have a failing test. This moves more validation to a point where you are still in-context. An ExampleThis is from the repo you're looking at: #if canImport(PackageConfig)
import PackageConfig
let config = PackageConfiguration([
"komondor": [
"pre-push": "swift test",
"pre-commit": [
"swift test",
"swift run swiftformat .",
"swift run swiftlint autocorrect --path Sources/",
"git add .",
],
],
]).write()
#endif See more about the config here. Getting Set up
DeploymentUse |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论