So I was trying to run scripts one after another. But in between there has to be something else like ecto.create
. But when I do mix work
it didn't really work. Only the first script runs.
def aliases do
[
work: [
"run script1.exs",
"ecto.create",
"run script2.exs"
]
]
end
Does anyone know how to solve this?