elixir_git_hooks
elixir_git_hooks copied to clipboard
feature request: allow tasks to be configured to run in parallel
it would be awesome to allow tasks to be run in parallel to speed things up. perhaps something like:
config :git_hooks,
hooks: [
pre_commit: [
tasks: [
{:parallel, [
{:serial, [
{:mix_task, :format, ["--check-formatted"]},
{:mix_task, :test},
]},
{:serial, [
{:cmd, "npm run lint-staged --prefix infrastructure"},
{:cmd, "npm test --prefix infrastructure"}
]}
]}
]
]
]
Hey @stocks29 this is a great idea! βΊοΈ
I have an open bug that currently has more priority when working on this project, a PR is welcome otherwise it will be next feature to implement π