Michał Muskała
unread,Aug 12, 2016, 4:00:23 AM8/12/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elixir-l...@googlegroups.com
Hello everybody,
Today I encountered an interesting problem. We're doing seeding for our applications with a custom mix alias: "run priv/repo/seeds/**/*", which works great. The problem is we're using umbrella applications with multiple ecto repos, so each application has it's own seeds. You can imagine how annoying it is having to run seeds for each application separately.
I would like to propose adding --recursive flag to the run task, that would make it apply it's arguments in each application separately. This would allow creating an alias in the top-level mix.exs to run seeds in each application.
What do you think?
Michał.