Skip to content
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

only flag of mix dependencies doesnt work #26

Closed
msudgh opened this issue Sep 15, 2019 · 1 comment
Closed

only flag of mix dependencies doesnt work #26

msudgh opened this issue Sep 15, 2019 · 1 comment

Comments

@msudgh
Copy link

msudgh commented Sep 15, 2019

I did add git_hooks configs to the config.exs file and set only flag for [:dev, :test] to be used but in case of PROD environment, i see the following logs.

You have configured application :git_hooks in your configuration file,
but the application is not available.

This usually means one of:

1. You have not added the application as a dependency in a mix.exs file.

2. You are configuring an application that does not really exist.

Please ensure :git_hooks exists or remove the configuration.
@qgadrian
Copy link
Owner

Hey @msudgh

I updated the example configuration README to make it align with the dep configuration. Basically you need to add the profile condition to the config.exs to avoid using it when running the prod mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants