If you add the folder to elixirc_paths, then the code will be compiled and shipped with your project, and you don’t want that because it is needed only for seeding. Instead, you can keep the file as app_seed.exs
and do this at the top of your seeds.exs
:
Code.require_file("app_seed.exs", __DIR__)