Execute runtime.exs in custom mix task

A student of mine (jojofreddy) pointed me to this:

This magic line

def run(args) do
    Mix.Task.run("app.config")
  # do work
end

solved the problem.