git_ops
git_ops copied to clipboard
Emit list of types in "mix project_info"
On different projects, we configure git_ops with different types.
We perform pre-commit checks and github lint checks with custom bash scripts.
It would be super handy if mix git_ops.project-info would emit a list of valid types.
That way, if the valid types are changed in config.exs, the changes could be automatically picked up by our lint scripts.
$ mix git_ops.project_info
[app]
name = myapp
version = 0.2.4
types = "build chore ci docs feat fix important improvement perf refactor style test tidbit"
Is there a way to get a type-list in the current system? Maybe I'm missing something...
If not, I can submit a PR if that would be welcome.
There is no way that I know of to do so easily, open to a task for it :)