In iex -S mix
, typing recompile
can compile all the Elixir source files under lib/
.
I added an Erlang file lib/foo.erl
, typing recompile
does not compile this Erlang file.
Does Mix have any mechanism to do this kind of job?
# lib/foo.erl
-module(foo).
-record(person, {name, age}).
main()->
Person=#person{name=yama, age=17},
name=Person#person.name.