   end
 
   @doc """
-  Returns the Mix environment.
+  Returns the current Mix environment.
 
   This function should not be used at runtime in application code (as opposed
   to infrastructure and build code like Mix tasks). Mix is a build tool and may

  This function should not be used at runtime in application code
  (see `env/0` for more information).
  """
  def env(env) when is_atom(env) do
    Mix.State.put(:env, env)
  end

  Be careful when invoking this function as any project
  configuration won't be reloaded.
  """
  @spec target(atom()) :: :ok
  def target(target) when is_atom(target) do
    Mix.State.put(:target, target)
  end
