Skip to content

Commit 385b0e1

Browse files
committed
installer: use preferred_envs instead of preferred_cli_env
1 parent f16c7e4 commit 385b0e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

installer/mix.exs

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ defmodule Phx.New.MixProject do
3737
links: %{"GitHub" => @scm_url},
3838
files: ~w(lib templates mix.exs README.md)
3939
],
40-
preferred_cli_env: [docs: :docs],
4140
source_url: @scm_url,
4241
docs: docs(),
4342
homepage_url: "https://www.phoenixframework.org",
@@ -50,6 +49,10 @@ defmodule Phx.New.MixProject do
5049
]
5150
end
5251

52+
def cli do
53+
[preferred_envs: [docs: :docs]]
54+
end
55+
5356
def application do
5457
[
5558
extra_applications: [:eex, :crypto]

0 commit comments

Comments
 (0)