From 5ae790e0a527045cb3951e5a7fc2a813300760d6 Mon Sep 17 00:00:00 2001 From: Mitchell Hanberg Date: Wed, 14 Jun 2023 09:23:34 -0400 Subject: [PATCH] chore: install gen_lsp (#4) --- mix.exs | 15 +++++++++++++-- mix.lock | 6 ++++++ priv/.keep | 0 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 priv/.keep diff --git a/mix.exs b/mix.exs index e8c38937..042e15ff 100644 --- a/mix.exs +++ b/mix.exs @@ -4,9 +4,11 @@ defmodule NextLS.MixProject do def project do [ app: :next_ls, + description: "The langauge server for Elixir that just works", version: "0.1.0", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, + package: package(), deps: deps() ] end @@ -22,10 +24,19 @@ defmodule NextLS.MixProject do # Run "mix help deps" to learn about dependencies. defp deps do [ + {:gen_lsp, "~> 0.1"}, {:dialyxir, ">= 0.0.0", only: [:dev, :test], runtime: false} + ] + end - # {:dep_from_hexpm, "~> 0.3.0"}, - # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} + defp package() do + [ + maintainers: ["Mitchell Hanberg"], + licenses: ["MIT"], + links: %{ + github: "https://github.com/elixir-tools/next-ls" + }, + files: ~w(lib LICENSE mix.exs priv README.md .formatter.exs) ] end end diff --git a/mix.lock b/mix.lock index 1d5ea542..97e8d800 100644 --- a/mix.lock +++ b/mix.lock @@ -1,4 +1,10 @@ %{ "dialyxir": {:hex, :dialyxir, "1.3.0", "fd1672f0922b7648ff9ce7b1b26fcf0ef56dda964a459892ad15f6b4410b5284", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "00b2a4bcd6aa8db9dcb0b38c1225b7277dca9bc370b6438715667071a304696f"}, "erlex": {:hex, :erlex, "0.2.6", "c7987d15e899c7a2f34f5420d2a2ea0d659682c06ac607572df55a43753aa12e", [:mix], [], "hexpm", "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"}, + "gen_lsp": {:hex, :gen_lsp, "0.1.2", "5aa8ec2ff69c8a075a30da211ee89214d117ea18eb1fbe91c80662d390389010", [:mix], [{:jason, "~> 1.3", [hex: :jason, repo: "hexpm", optional: false]}, {:nimble_options, "~> 0.5 or ~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:schematic, "~> 0.1", [hex: :schematic, repo: "hexpm", optional: false]}, {:typed_struct, "~> 0.3.0", [hex: :typed_struct, repo: "hexpm", optional: false]}], "hexpm", "a46ae73c6034f7c95af15b746abf660fefdd1d3635ff4dfe2aacdd9315caf573"}, + "jason": {:hex, :jason, "1.4.0", "e855647bc964a44e2f67df589ccf49105ae039d4179db7f6271dfd3843dc27e6", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "79a3791085b2a0f743ca04cec0f7be26443738779d09302e01318f97bdb82121"}, + "nimble_options": {:hex, :nimble_options, "1.0.2", "92098a74df0072ff37d0c12ace58574d26880e522c22801437151a159392270e", [:mix], [], "hexpm", "fd12a8db2021036ce12a309f26f564ec367373265b53e25403f0ee697380f1b8"}, + "schematic": {:hex, :schematic, "0.1.1", "75981b1eea5624e44f723e5ba270b892911d381a4417f20a0bd94f3854da0041", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "13ae4b35b81806febd7fc0251959e59aa28cc1600ba9e0e77f85cb4f303b8a35"}, + "telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"}, + "typed_struct": {:hex, :typed_struct, "0.3.0", "939789e3c1dca39d7170c87f729127469d1315dcf99fee8e152bb774b17e7ff7", [:mix], [], "hexpm", "c50bd5c3a61fe4e198a8504f939be3d3c85903b382bde4865579bc23111d1b6d"}, } diff --git a/priv/.keep b/priv/.keep new file mode 100644 index 00000000..e69de29b