Skip to content

Commit

Permalink
fix: improve credo-language-server binary (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jun 11, 2023
1 parent 872cefc commit 218873a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion bin/credo-language-server
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

System.no_halt(true)

Mix.install([:credo_language_server])
Logger.configure(level: :none)

Mix.start()
Mix.shell(Mix.Shell.Process)

default_version = "0.1.1" # x-release-please-version

Mix.install([{:credo_language_server, System.get_env("CREDO_LSP_VERSION", default_version)}])

Logger.configure(level: :info)

Application.ensure_all_started(:credo_language_server)

0 comments on commit 218873a

Please sign in to comment.