I have a mix project created by
mix new blah. I want to have an
examples dir that is outside the
lib dir, that way files/modules in there aren’t compiled and made available to people using the library/application.
If I do that, how can I run files in there?
For example, the structure of my
examples dir is like this:
examples/module1.ex examples/module2.ex examples/run.exs
How can I run
mix run examples/run.exs and have it compile
examples/module2.ex as well as make all modules defined in
Thanks for the help!