From 1249383ed2b3253850fa899658c9bdf593829c69 Mon Sep 17 00:00:00 2001 From: Steffen Deusch Date: Thu, 12 Dec 2024 10:14:47 +0100 Subject: [PATCH] fix warnings on Elixir 1.19-dev (#3568) --- mix.exs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mix.exs b/mix.exs index 07bc2975b7..8c4d2d71cc 100644 --- a/mix.exs +++ b/mix.exs @@ -21,13 +21,14 @@ defmodule Phoenix.LiveView.MixProject do homepage_url: "http://www.phoenixframework.org", description: """ Rich, real-time user experiences with server-rendered HTML - """, - preferred_cli_env: [ - docs: :docs - ] + """ ] end + def cli do + [preferred_envs: [docs: :docs]] + end + defp elixirc_paths(:e2e), do: ["lib", "test/support", "test/e2e/support"] defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"]