aboutsummaryrefslogtreecommitdiff
path: root/installer/install-clangd.cmd
blob: bab1730629a3957c8cbe5e5b8966f3269e7161f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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