aboutsummaryrefslogtreecommitdiff
path: root/installer/install-rls.cmd
blob: eb7900a57ee8da812bea635d7dc9b7ad4c051499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@echo off

setlocal

cd %~dp0
if exist "..\servers\rls" rd /S /Q  "..\servers\rls"
md "..\servers\rls"
cd "..\servers\rls"
set CARGO_HOME=%cd%
cargo install rls
copy bin\rls.exe .
rd /S /Q "bin"
rd /S /Q "registry"
del .package-cache
del .crates.toml