1

I have an Umbrella application in Elixir.

It has 2 applications in it. One API controller and views, one only Database ( Ecto ) and everything goes with it.

I want to make my own mix file so I can put my aliases and imports in there. It gets very annoying in the iex when every time I have to import bucket load of alias and imports before I can test my codes.

I have already made a file with .iex.exs and put that under one of the applications root, no lock when I run iex -S mix

Here is the content of my mix file:

db.iex.exs

alias Db.{ Repo, Document }

Here is the folder structure:

enter image description here

Thanks guys

1 Answer 1

2

The file should be .iex.exs not db.iex.exs.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.