Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add :leex to Mix compilers #502

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Add :leex to Mix compilers #502

merged 1 commit into from
Dec 11, 2023

Conversation

wojtekmach
Copy link
Contributor

Before this patch on Elixir main:

~/src/floki[main]% mix compile --force
warning: in order to compile .xrl files, you must add "compilers: [:leex] ++ Mix.compilers()" to the "def project" section of your mix.exs
  (mix 1.17.0-dev) lib/mix/tasks/compile.leex.ex:69: Mix.Tasks.Compile.Leex.preload/1
  (mix 1.17.0-dev) lib/mix/compilers/erlang.ex:66: Mix.Compilers.Erlang.compile/6
  (mix 1.17.0-dev) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
  (mix 1.17.0-dev) lib/mix/tasks/compile.all.ex:124: Mix.Tasks.Compile.All.run_compiler/2
  (mix 1.17.0-dev) lib/mix/tasks/compile.all.ex:104: Mix.Tasks.Compile.All.compile/4
  (mix 1.17.0-dev) lib/mix/tasks/compile.all.ex:93: Mix.Tasks.Compile.All.with_logger_app/2

Compiling 1 file (.xrl)
Compiling 2 files (.erl)
Compiling 31 files (.ex)
Generated floki app

Before this patch on Elixir main:

    ~/src/floki[main]% mix compile --force
    warning: in order to compile .xrl files, you must add "compilers: [:leex] ++ Mix.compilers()" to the "def project" section of your mix.exs
      (mix 1.17.0-dev) lib/mix/tasks/compile.leex.ex:69: Mix.Tasks.Compile.Leex.preload/1
      (mix 1.17.0-dev) lib/mix/compilers/erlang.ex:66: Mix.Compilers.Erlang.compile/6
      (mix 1.17.0-dev) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
      (mix 1.17.0-dev) lib/mix/tasks/compile.all.ex:124: Mix.Tasks.Compile.All.run_compiler/2
      (mix 1.17.0-dev) lib/mix/tasks/compile.all.ex:104: Mix.Tasks.Compile.All.compile/4
      (mix 1.17.0-dev) lib/mix/tasks/compile.all.ex:93: Mix.Tasks.Compile.All.with_logger_app/2

    Compiling 1 file (.xrl)
    Compiling 2 files (.erl)
    Compiling 31 files (.ex)
    Generated floki app
@philss philss merged commit b4bc625 into philss:main Dec 11, 2023
9 checks passed
@philss
Copy link
Owner

philss commented Dec 11, 2023

@wojtekmach thank you! 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants