You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/mix/lib/mix/tasks/compile.leex.ex
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,8 +66,8 @@ defmodule Mix.Tasks.Compile.Leex do
66
66
defppreload(project)do
67
67
# TODO: Remove me in Elixir v2.0
68
68
unless:leexinList.wrap(project[:compilers])do
69
-
IO.warn(
70
-
"in order to compile .xrl files, you must add \"compilers: [:leex] ++ Mix.compilers()\" to the \"def project\" section of #{project[:app]}'s mix.exs"
69
+
Mix.shell().error(
70
+
"warning: in order to compile .xrl files, you must add \"compilers: [:leex] ++ Mix.compilers()\" to the \"def project\" section of #{project[:app]}'s mix.exs"
Copy file name to clipboardExpand all lines: lib/mix/lib/mix/tasks/compile.yecc.ex
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,8 +67,8 @@ defmodule Mix.Tasks.Compile.Yecc do
67
67
defppreload(project)do
68
68
# TODO: Remove me in Elixir v2.0
69
69
unless:yeccinList.wrap(project[:compilers])do
70
-
IO.warn(
71
-
"in order to compile .yrl files, you must add \"compilers: [:yecc] ++ Mix.compilers()\" to the \"def project\" section of #{project[:app]}'s mix.exs"
70
+
Mix.shell().error(
71
+
"warning: in order to compile .yrl files, you must add \"compilers: [:yecc] ++ Mix.compilers()\" to the \"def project\" section of #{project[:app]}'s mix.exs"
0 commit comments