Skip to content

Add option to set a mix executable path#83

Merged
qgadrian merged 3 commits into
masterfrom
add-option-to-configure-the-mix-executable-path
Jul 6, 2021
Merged

Add option to set a mix executable path#83
qgadrian merged 3 commits into
masterfrom
add-option-to-configure-the-mix-executable-path

Conversation

@qgadrian
Copy link
Copy Markdown
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
Copy Markdown

Seems to work just as we need, thanks!!

@jeffometer
Copy link
Copy Markdown

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