aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer/install-lsp4xml.cmd14
-rw-r--r--installer/install-terraform-lsp.cmd7
2 files changed, 21 insertions, 0 deletions
diff --git a/installer/install-lsp4xml.cmd b/installer/install-lsp4xml.cmd
new file mode 100644
index 0000000..966a3b7
--- /dev/null
+++ b/installer/install-lsp4xml.cmd
@@ -0,0 +1,14 @@
+@echo off
+
+cd %~dp0
+if exist "..\servers\lsp4xml" rd /S /Q "..\servers\lsp4xml"
+md "..\servers\lsp4xml"
+cd "..\servers\lsp4xml"
+curl -LO "https://dl.bintray.com/lsp4xml/releases/org/lsp4xml/org.eclipse.lsp4xml/0.9.1/org.eclipse.lsp4xml-0.9.1-uber.jar"
+
+echo @echo off ^
+
+java -jar %%~dp0\org.eclipse.lsp4xml-0.9.1-uber.jar ^
+
+> lsp4xml.cmd
+
diff --git a/installer/install-terraform-lsp.cmd b/installer/install-terraform-lsp.cmd
new file mode 100644
index 0000000..4903513
--- /dev/null
+++ b/installer/install-terraform-lsp.cmd
@@ -0,0 +1,7 @@
+@echo off
+
+cd %~dp0
+if exist "..\servers\terraform-lsp" rd /S /Q "..\servers\terraform-lsp"
+md "..\servers\terraform-lsp"
+cd "..\servers\terraform-lsp"
+curl -L "https://github.com/juliosueiras/terraform-lsp/releases/download/v0.0.9/terraform-lsp_0.0.9_windows_amd64.tar.gz" | tar xz