Skip to content

Commit

Permalink
Add compilers to avoid warnings on latest Elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Sep 27, 2023
1 parent a3a7557 commit 12eabaa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
defmodule Earmark.Mixfile do
defmodule Earmark.Mixfile do
use Mix.Project

@version "1.4.44"

@url "https://github.com/pragdave/earmark"


@deps [
{:dialyxir, "~> 1.1", only: [:dev, :test], runtime: false},
{:benchfella, "~> 0.3.0", only: [:dev]},
Expand Down Expand Up @@ -33,6 +32,7 @@
[
app: :earmark,
version: @version,
compilers: [:leex, :yecc] ++ Mix.compilers(),
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
escript: escript_config(),
Expand All @@ -52,7 +52,7 @@

def application do
[
extra_applications: [:eex],
extra_applications: [:eex]
]
end

Expand Down Expand Up @@ -87,7 +87,6 @@
]
end


@prerequisites """
run `mix escript.install hex ex_doc` and adjust `PATH` accordingly
"""
Expand Down

0 comments on commit 12eabaa

Please sign in to comment.