Checkout using custom Git URL, branch, commit and path
cristi-lupu opened this issue Β· comments
Cristian Lupu commented
Hey @yonaskolb! π
I see that Mintfile
accepts repositories of GitHub and you can specify only the tag some_user_or_organization/repo@tag
.
Instead, I would like to see more like DSL what will help to add more parameters (such as branch, commit and path) and good maintenance instead of relying on string format:
mint {
dependency(repoURL: "git@github.com:yonaskolb/Mint.git", branch: "master")
dependency(path: "../development/some_other_swift_package/")
dependency(repoURL: "git@github.com:realm/SwiftLint.git", commit: "bda1cd56e0bbcd4a68828394137e32d17c92963b")
}
or doing the same thing but in JSON, or even as Ruby script.
Bogdan Ivanov commented
Is it planned at some point?