Skip to content

Commit e4a1ec9

Browse files
committed
Remove unused CLI configuration and precommit hooks from mix.exs
1 parent efcd065 commit e4a1ec9

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

demo/mix.exs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ defmodule Demo.MixProject do
1717
]
1818
end
1919

20-
def cli do
21-
[
22-
preferred_envs: [precommit: :test]
23-
]
24-
end
25-
2620
def application do
2721
[
2822
mod: {Demo.Application, []},
@@ -104,8 +98,7 @@ defmodule Demo.MixProject do
10498
"esbuild backpex --minify",
10599
"esbuild default --minify",
106100
"phx.digest"
107-
],
108-
precommit: ["compile --warning-as-errors", "deps.unlock --unused", "format", "test"]
101+
]
109102
]
110103
end
111104

0 commit comments

Comments
 (0)