Packages

A mix task to get info about the current mix project such as name or version number. Useful to automate tasks using a CI server or a build script.

Current section

Files

Jump to
project_info lib mix tasks config.ex
Raw

lib/mix/tasks/config.ex

defmodule Mix.Tasks.ProjectInfo.Config do
use Mix.Task
@shortdoc "Returns the project configuration"
def run(_) do
IO.puts inspect(Mix.Project.config)
end
end