From 7a3d9a2be23dca9aeee503c20be79395174ec46a Mon Sep 17 00:00:00 2001 From: Thomas Faingnaert Date: Sat, 28 Dec 2019 22:49:08 +0100 Subject: Add installer for clangd (Windows) --- installer/install-clangd.cmd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 installer/install-clangd.cmd 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 -- cgit v1.2.3-54-g00ecf