Skip to content

Commit

Permalink
installer: use preferred_envs instead of preferred_cli_env
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Jan 26, 2025
1 parent f16c7e4 commit 385b0e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installer/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ defmodule Phx.New.MixProject do
links: %{"GitHub" => @scm_url},
files: ~w(lib templates mix.exs README.md)
],
preferred_cli_env: [docs: :docs],
source_url: @scm_url,
docs: docs(),
homepage_url: "https://www.phoenixframework.org",
Expand All @@ -50,6 +49,10 @@ defmodule Phx.New.MixProject do
]
end

def cli do
[preferred_envs: [docs: :docs]]
end

def application do
[
extra_applications: [:eex, :crypto]
Expand Down

0 comments on commit 385b0e1

Please sign in to comment.