Skip to content

Add option to set a mix executable path #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 6, 2021

Conversation

qgadrian
Copy link
Owner

@qgadrian qgadrian commented Jul 3, 2021

Request from #82

Use the following config to override the default mix executable path:

config :git_hooks,
  mix_path: "docker-compose exec mix",
# ...

@jeffometer
Copy link

Seems to work just as we need, thanks!!

@jeffometer
Copy link

FYI use docker exec --tty $(docker-compose ps -q web) mix instead of docker-compose exec web mix to avoid a TTY warning

@qgadrian qgadrian force-pushed the add-option-to-configure-the-mix-executable-path branch from 8eb98e9 to b7f5598 Compare July 6, 2021 18:32
@qgadrian qgadrian merged commit 3878a6b into master Jul 6, 2021
@qgadrian qgadrian deleted the add-option-to-configure-the-mix-executable-path branch July 6, 2021 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request] overriding the git hook so that we can make it run mix tasks inside of docker compose
2 participants