We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f869654 commit 80c62ddCopy full SHA for 80c62dd
mix.exs
@@ -11,13 +11,6 @@ defmodule Cmp.MixProject do
11
elixir: "~> 1.13",
12
start_permanent: Mix.env() == :prod,
13
deps: deps(),
14
- preferred_cli_env: [
15
- docs: :docs,
16
- "hex.publish": :docs,
17
- dialyzer: :test,
18
- "test.unit": :test,
19
- "test.prop": :test
20
- ],
21
dialyzer: [flags: [:missing_return, :extra_return]],
22
aliases: aliases(),
23
consolidate_protocols: Mix.env() != :test,
@@ -63,6 +56,18 @@ defmodule Cmp.MixProject do
63
56
]
64
57
end
65
58
59
+ def cli do
60
+ [
61
+ preferred_envs: [
62
+ docs: :docs,
+ "hex.publish": :docs,
+ dialyzer: :test,
+ "test.unit": :test,
66
+ "test.prop": :test
67
+ ]
68
69
+ end
70
+
71
defp docs do
72
[
73
main: "Cmp",
0 commit comments