diff options
Diffstat (limited to 'installer')
-rw-r--r-- | installer/install-clangd.cmd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/installer/install-clangd.cmd b/installer/install-clangd.cmd new file mode 100644 index 0000000..bab1730 --- /dev/null +++ b/installer/install-clangd.cmd @@ -0,0 +1,18 @@ +@echo off + +setlocal + +cd /d %~dp0 + +set installer_dir=%cd% +set server_dir=..\servers\clangd +if exist %server_dir% rd /Q /S "%server_dir%" +md "%server_dir%" +cd /d "%server_dir%" + +echo Downloading clang and LLVM... +curl -L -o LLVM-9.0.0-win64.exe "http://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe" +echo Running setup... +echo Make sure to add clangd to your PATH +LLVM-9.0.0-win64.exe +del LLVM-9.0.0-win64.exe |