diff options
Diffstat (limited to 'installer/install-docker-langserver.sh')
-rwxr-xr-x | installer/install-docker-langserver.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/installer/install-docker-langserver.sh b/installer/install-docker-langserver.sh new file mode 100755 index 0000000..59e0b7e --- /dev/null +++ b/installer/install-docker-langserver.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +server_dir="../servers/docker-langserver" + +cd $(dirname $0) +[ -d $server_dir ] && rm -rf $server_dir +mkdir $server_dir && cd $server_dir + +npm init -y +sed -i -e 's/\"name\":.*$/\"name\": \"\",/' package.json +npm install dockerfile-language-server-nodejs + +ln -s ./node_modules/.bin/docker-langserver . |