Skip to content

Commit 4d4ded0

Browse files
authored
Allow running a setup.bat script on Windows analogous to setup.sh on Linux (#374)
Script is located at `%APPDATA%`/elixir_ls/setup.bat` which usually translates to `C:\Users\<username>\AppData\Roaming\elixir_ls`
1 parent b881090 commit 4d4ded0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
@echo off & setlocal enabledelayedexpansion
22

3+
IF EXIST "%APPDATA%\elixir_ls\setup.bat" (
4+
CALL "%APPDATA%\elixir_ls\setup.bat"
5+
)
6+
37
SET ERL_LIBS=%~dp0;%ERL_LIBS%
48
elixir --erl "+sbwt none +sbwtdcpu none +sbwtdio none" -e "ElixirLS.Debugger.CLI.main()"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
@echo off & setlocal enabledelayedexpansion
22

3+
IF EXIST "%APPDATA%\elixir_ls\setup.bat" (
4+
CALL "%APPDATA%\elixir_ls\setup.bat"
5+
)
6+
37
SET ERL_LIBS=%~dp0;%ERL_LIBS%
48
elixir --erl "+sbwt none +sbwtdcpu none +sbwtdio none" -e "ElixirLS.LanguageServer.CLI.main()"

0 commit comments

Comments
 (0)