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 compilers to avoid warnings on latest Elixir #472

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading