From 58f7c02efb0848e08b18883d408670b545ca379d Mon Sep 17 00:00:00 2001 From: Jake Becker Date: Sat, 3 Mar 2018 14:53:10 -0800 Subject: [PATCH] Rename release task to elixir_ls.release to avoid naming conflicts with user projects --- README.md | 2 +- .../{mix.tasks.release.ex => mix.tasks.elixir_ls.release.ex} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename apps/elixir_ls_utils/lib/{mix.tasks.release.ex => mix.tasks.elixir_ls.release.ex} (97%) diff --git a/README.md b/README.md index c6859676..a6ab34f5 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ ElixirLS's Dialyzer integration uses internal, undocumented Dialyzer APIs, and s ## Building and running -Run `mix compile`, then `mix release -o `. This builds the language server and debugger as a set of `.ez` archives and creates `.sh` and `.bat` scripts to launch them. +Run `mix compile`, then `mix elixir_ls.release -o `. This builds the language server and debugger as a set of `.ez` archives and creates `.sh` and `.bat` scripts to launch them. If you're packaging these archives in an IDE plugin, make sure to build using Erlang/OTP 19, not OTP 20, because OTP 20 beam files are not backwards-compatible with earlier Erlang versions. Alternatively, you can use a [precompiled release](https://github.com/JakeBecker/elixir-ls/releases). diff --git a/apps/elixir_ls_utils/lib/mix.tasks.release.ex b/apps/elixir_ls_utils/lib/mix.tasks.elixir_ls.release.ex similarity index 97% rename from apps/elixir_ls_utils/lib/mix.tasks.release.ex rename to apps/elixir_ls_utils/lib/mix.tasks.elixir_ls.release.ex index a6bdfa9f..83b8d9ae 100644 --- a/apps/elixir_ls_utils/lib/mix.tasks.release.ex +++ b/apps/elixir_ls_utils/lib/mix.tasks.elixir_ls.release.ex @@ -1,4 +1,4 @@ -defmodule Mix.Tasks.Release do +defmodule Mix.Tasks.ElixirLs.Release do @switches [destination: :string, zip: :string] @aliases [o: :destination, z: :zip]