Search code examples
elixirelixir-mix

How to flag a module so that it doesn't get compiled?


Is it possible to not compile a module or file that's found under the lib directory when running mix.compile?

If so, how to do it or at least where in Mix's source can I look to find that out?


Solution

  • You can just give it the .exs extension? The question though is: why do you have something that is not meant to be compiled in lib? Maybe you want to put it elsewhere?