Skip to content

Commit

Permalink
Make it easier to include Erlang LS as a dependency. (erlang-ls#1229)
Browse files Browse the repository at this point in the history
* Remove dependency on edoc.hrl file

* Add dummy .app.src file for Erlang LS

To simplify inclusion (of an umbrella app) as a build dependency.
  • Loading branch information
robertoaloi committed Mar 2, 2022
1 parent 126c4da commit 44eee38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 1 addition & 2 deletions apps/els_lsp/src/edoc_report.erl
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
-type line() :: non_neg_integer().
-type severity() :: warning | error.

-include_lib("edoc/src/edoc.hrl").

-define(APPLICATION, edoc).
-define(DICT_KEY, edoc_diagnostics).

-spec error(what()) -> ok.
Expand Down
11 changes: 11 additions & 0 deletions src/erlang_ls.app.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{application, erlang_ls, [
{description, "Erlang LS"},
{vsn, git},
{registered, []},
{applications, [kernel, stdlib, els_core, els_lsp, els_dap]},
{env, []},
{modules, []},

{licenses, ["Apache 2.0"]},
{links, []}
]}.

0 comments on commit 44eee38

Please sign in to comment.