dwyl / elixir-pre-commit

✅ Pre-commit hooks for Elixir projects
GNU General Public License v2.0
46 stars 10 forks source link

pre-commit application is not available #38

Open nelsonic opened 4 years ago

nelsonic commented 4 years ago

I just git cloned the https://github.com/dwyl/elixir-auth-github project and ran mix deps.get followed by mix test and got the following warning/error:

image

You have configured application :pre_commit 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 :pre_commit exists or remove the configuration.

We may need to add additional setup instructions to this project. 💭

asmodehn commented 3 years ago

I just stumbled onto this... Is there any hint on where the problem may be, and how I could attempt to fix it ?

RicardoSantos-99 commented 2 years ago

replace :pre commit with your app name

config :your_app_name, commands: ["test"]