diff --git a/.gitignore b/.gitignore index 204ec2e..d5dd622 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,6 @@ server.log # Gleam build directory /build/ + +# Gleam compile script that causes Erlang compilation errors +gleam@@compile.erl diff --git a/mix.exs b/mix.exs index 13af81d..e0b679a 100644 --- a/mix.exs +++ b/mix.exs @@ -55,8 +55,9 @@ defmodule Aprsme.MixProject do defp elixirc_paths(_), do: ["lib"] # Specifies erlc paths per environment for Gleam compilation - defp erlc_paths(env) do - ["build/#{env}/erlang/aprsme/_gleam_artefacts", "src"] + defp erlc_paths(_env) do + # Only include src directory to avoid compiling Gleam's internal scripts + ["src"] end # Specifies your project dependencies.