Skip to content

Commit eb8c927

Browse files
authored
Do not start :debugger and :dialyzer apps to avoid depending on :wx (elixir-editors#388)
Fixes elixir-editors#387
1 parent d7208fe commit eb8c927

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

apps/elixir_ls_debugger/mix.exs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ defmodule ElixirLS.Debugger.Mixfile do
1414
start_permanent: true,
1515
build_per_environment: false,
1616
consolidate_protocols: false,
17-
deps: deps()
17+
deps: deps(),
18+
xref: [exclude: [:int, :dbg_iserver]]
1819
]
1920
end
2021

2122
def application do
22-
[mod: {ElixirLS.Debugger, []}, extra_applications: [:mix, :logger, :debugger]]
23+
[mod: {ElixirLS.Debugger, []}, extra_applications: [:mix, :logger]]
2324
end
2425

2526
defp deps do

apps/language_server/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule ElixirLS.LanguageServer.Mixfile do
2121
end
2222

2323
def application do
24-
[mod: {ElixirLS.LanguageServer, []}, extra_applications: [:mix, :logger, :dialyzer]]
24+
[mod: {ElixirLS.LanguageServer, []}, extra_applications: [:mix, :logger]]
2525
end
2626

2727
defp deps do

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule ElixirLS.Mixfile do
1111
deps: deps(),
1212
elixir: ">= 1.8.0",
1313
dialyzer: [
14-
plt_add_apps: [:dialyxir],
14+
plt_add_apps: [:dialyxir, :debugger, :dialyzer, :hipe],
1515
flags: [
1616
# enable only to verify error handling
1717
# :unmatched_returns,

0 commit comments

Comments
 (0)