Skip to content

Commit d836583

Browse files
committed
Remove :preferred_cli_env deprecation in Elixir v1.19
1 parent 18a506d commit d836583

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

mix.exs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ defmodule PolymorphicEmbed.MixProject do
2828
],
2929

3030
# ExCoveralls
31-
test_coverage: [tool: ExCoveralls],
32-
preferred_cli_env: [
33-
coveralls: :test,
34-
"coveralls.detail": :test,
35-
"coveralls.post": :test,
36-
"coveralls.html": :test,
37-
"coveralls.github": :test
38-
]
31+
test_coverage: [tool: ExCoveralls]
3932
]
4033
end
4134

@@ -45,6 +38,18 @@ defmodule PolymorphicEmbed.MixProject do
4538
]
4639
end
4740

41+
def cli do
42+
[
43+
preferred_envs: [
44+
coveralls: :test,
45+
"coveralls.detail": :test,
46+
"coveralls.post": :test,
47+
"coveralls.html": :test,
48+
"coveralls.github": :test
49+
]
50+
]
51+
end
52+
4853
defp deps do
4954
[
5055
{:ecto, "~> 3.12"},

0 commit comments

Comments
 (0)