Skip to content

Commit

Permalink
Do not start :debugger and :dialyzer apps to avoid depending on :wx (#…
Browse files Browse the repository at this point in the history
…388)

Fixes #387
  • Loading branch information
lukaszsamson authored Oct 15, 2020
1 parent d7208fe commit eb8c927
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions apps/elixir_ls_debugger/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ defmodule ElixirLS.Debugger.Mixfile do
start_permanent: true,
build_per_environment: false,
consolidate_protocols: false,
deps: deps()
deps: deps(),
xref: [exclude: [:int, :dbg_iserver]]
]
end

def application do
[mod: {ElixirLS.Debugger, []}, extra_applications: [:mix, :logger, :debugger]]
[mod: {ElixirLS.Debugger, []}, extra_applications: [:mix, :logger]]
end

defp deps do
Expand Down
2 changes: 1 addition & 1 deletion apps/language_server/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule ElixirLS.LanguageServer.Mixfile do
end

def application do
[mod: {ElixirLS.LanguageServer, []}, extra_applications: [:mix, :logger, :dialyzer]]
[mod: {ElixirLS.LanguageServer, []}, extra_applications: [:mix, :logger]]
end

defp deps do
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule ElixirLS.Mixfile do
deps: deps(),
elixir: ">= 1.8.0",
dialyzer: [
plt_add_apps: [:dialyxir],
plt_add_apps: [:dialyxir, :debugger, :dialyzer, :hipe],
flags: [
# enable only to verify error handling
# :unmatched_returns,
Expand Down

0 comments on commit eb8c927

Please sign in to comment.