diff options
author | thinca <thinca@gmail.com> | 2019-12-31 18:56:18 +0900 |
---|---|---|
committer | thinca <thinca@gmail.com> | 2019-12-31 18:56:18 +0900 |
commit | 60a039f6c2914e0d6320a063032c03c8fdda0760 (patch) | |
tree | ba53fd4948160d5b2980d4f7ae3484178d40ce77 /installer/npm_install.cmd | |
parent | 796a6b950a3c520ec24139836135c35364cf941d (diff) | |
download | vim-lsp-settings-60a039f6c2914e0d6320a063032c03c8fdda0760.tar.gz vim-lsp-settings-60a039f6c2914e0d6320a063032c03c8fdda0760.tar.bz2 vim-lsp-settings-60a039f6c2914e0d6320a063032c03c8fdda0760.zip |
Setup server directory in Vim script
All installer scripts assume invoked at the installing path.
Diffstat (limited to 'installer/npm_install.cmd')
-rw-r--r-- | installer/npm_install.cmd | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/installer/npm_install.cmd b/installer/npm_install.cmd index caea4a8..5f1d9bb 100644 --- a/installer/npm_install.cmd +++ b/installer/npm_install.cmd @@ -3,12 +3,6 @@ if "x%1" equ "x" goto :EOF
if "x%2" equ "x" goto :EOF
-set server_dir=..\servers\%1
-if exist "%server_dir%" rd /Q /S "%server_dir%"
-md "%server_dir%"
-pushd .
-cd /d "%server_dir%"
-
call npm init -y
echo {"name":""}>package.json
@@ -20,4 +14,3 @@ echo @echo off ^ call %%~dp0\node_modules\.bin\%1.cmd %%* ^
> %1.cmd
-popd
|