 
   """
   def run(args) do
-    Mix.Project.get!
-    config = Mix.Project.config
+    Mix.Project.get!()
+    config = Mix.Project.config()
 
-    {opts, _, _} = OptionParser.parse args, switches: [permanent: :boolean, temporary: :boolean]
-    Mix.Task.run "loadpaths", args
+    {opts, _, _} = OptionParser.parse(args, switches: [permanent: :boolean, temporary: :boolean])
+    Mix.Task.run("loadpaths", args)
 
     unless "--no-compile" in args do
       Mix.Project.compile(args, config)

  end

  defp check_configured() do
    configured = Mix.ProjectStack.configured_applications
    loaded = for {app, _, _} <- Application.loaded_applications(), do: app
    _ = for app <- configured -- loaded,
           :code.lib_dir(app) == {:error, :bad_name} do
      Mix.shell.error """
      You have configured application #{inspect app} in your configuration
      file, but the application is not available.

      This usually means one of:

      1. You have not added the application as a dependency in a mix.exs file.

      2. You are configuring an application that does not really exist.

      Please ensure #{inspect app} exists or remove the configuration.
      """
    end
    :ok
  end

  defp load_protocol(file) do
    case file do
      "Elixir." <> _ ->
        module = file |> Path.rootname |> String.to_atom
        :code.purge(module)
        :code.delete(module)
      _ ->
        :ok
    end

    #
    # Mix should not depend directly on Logger so check that it's loaded.
    logger = Process.whereis(Logger)

    if logger do
      Logger.App.stop()
    end

    if "--no-start" in args do
      # Start Logger again if the application won't be starting it
      if logger do
        :ok = Logger.App.start()
      end
    else
      start(Mix.Project.config(), opts)
    end

    :ok
