Packages
project_info
1.0.0
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
Current section
Files
lib/mix/tasks/name.ex
defmodule Mix.Tasks.ProjectInfo.Name do
use Mix.Task
@shortdoc "Returns the name of the mix project"
def run(_) do
IO.puts Mix.Project.config[:app]
end
end