From f37f9817e029a8a18950e517a73706b4ade3c1f7 Mon Sep 17 00:00:00 2001 From: sabiwara Date: Sat, 4 Oct 2025 20:53:11 +0900 Subject: [PATCH 1/2] Remove unused require Logger --- lib/elixir_make/artefact.ex | 1 - lib/elixir_make/precompiler.ex | 2 -- lib/mix/tasks/elixir_make.precompile.ex | 1 - 3 files changed, 4 deletions(-) diff --git a/lib/elixir_make/artefact.ex b/lib/elixir_make/artefact.ex index efcdba5..e4e086a 100644 --- a/lib/elixir_make/artefact.ex +++ b/lib/elixir_make/artefact.ex @@ -1,7 +1,6 @@ defmodule ElixirMake.Artefact do @moduledoc false - require Logger alias ElixirMake.Artefact @checksum_algo :sha256 diff --git a/lib/elixir_make/precompiler.ex b/lib/elixir_make/precompiler.ex index dd27888..615efa4 100644 --- a/lib/elixir_make/precompiler.ex +++ b/lib/elixir_make/precompiler.ex @@ -3,8 +3,6 @@ defmodule ElixirMake.Precompiler do The behaviour for precompiler modules. """ - require Logger - @typedoc """ Target triplet. """ diff --git a/lib/mix/tasks/elixir_make.precompile.ex b/lib/mix/tasks/elixir_make.precompile.ex index 79bb2f3..788eabb 100644 --- a/lib/mix/tasks/elixir_make.precompile.ex +++ b/lib/mix/tasks/elixir_make.precompile.ex @@ -13,7 +13,6 @@ defmodule Mix.Tasks.ElixirMake.Precompile do """ alias ElixirMake.Artefact - require Logger use Mix.Task @recursive true From 895e476c01080a3e0b7b9f78cb2d795ffcab1d80 Mon Sep 17 00:00:00 2001 From: sabiwara Date: Sat, 4 Oct 2025 20:57:12 +0900 Subject: [PATCH 2/2] Fix warning on 1.19 by setting test_ignore_filters --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 599fcb3..059cd08 100644 --- a/mix.exs +++ b/mix.exs @@ -11,7 +11,8 @@ defmodule ElixirMake.Mixfile do package: package(), docs: docs(), deps: deps(), - xref: [exclude: [Mix, :crypto, :ssl, :public_key, :httpc]] + xref: [exclude: [Mix, :crypto, :ssl, :public_key, :httpc]], + test_ignore_filters: [~r|^test\/fixtures\/|] ] end