antonmi / espec

Elixir Behaviour Driven Development
Other
808 stars 62 forks source link

.formatter.exs is not included in published package #269

Closed bblaszkow06 closed 6 years ago

bblaszkow06 commented 6 years ago

It seems that because of contents of line 39 in mix.exs:

files: ~w(lib mix.exs README.md),

.formatter.exs is not included in the package published on hex.pm and that prevents to use its exported formatting rules.

The solution is to either explicitly add .formatter.exs to the line mentioned above or simply remove it - mix hex.publish will, by default, include lib mix.exs README.md as well as .formatter.exs and LICENSE

antonmi commented 6 years ago

Thanks, @bblaszkow06 ! I will add both .formatter.exs and LICENSE