aboutsummaryrefslogtreecommitdiff
path: root/installer/install-analysis-server-dart-snapshot.cmd
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-02 20:57:36 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-02 20:57:36 +0900
commitc8d7356cd809fffee36d9e3542d85b5b08b9bbae (patch)
tree1cd3fd0d09149f8b6762a74c0b4ae34190687607 /installer/install-analysis-server-dart-snapshot.cmd
parent11b3d71135200c313ebbb2e0dcaf358e8fdf6791 (diff)
downloadvim-lsp-settings-c8d7356cd809fffee36d9e3542d85b5b08b9bbae.tar.gz
vim-lsp-settings-c8d7356cd809fffee36d9e3542d85b5b08b9bbae.tar.bz2
vim-lsp-settings-c8d7356cd809fffee36d9e3542d85b5b08b9bbae.zip
Add dart language server
Diffstat (limited to 'installer/install-analysis-server-dart-snapshot.cmd')
-rw-r--r--installer/install-analysis-server-dart-snapshot.cmd11
1 files changed, 11 insertions, 0 deletions
diff --git a/installer/install-analysis-server-dart-snapshot.cmd b/installer/install-analysis-server-dart-snapshot.cmd
new file mode 100644
index 0000000..a24c936
--- /dev/null
+++ b/installer/install-analysis-server-dart-snapshot.cmd
@@ -0,0 +1,11 @@
+@echo off
+
+curl -o "dartsdk-windows-x64-release.zip" "https://storage.googleapis.com/dart-archive/channels/dev/release/latest/sdk/dartsdk-windows-x64-release.zip"
+call run_unzip.cmd "dartsdk-windows-x64-release.zip"
+del "dartsdk-windows-x64-release.zip"
+
+echo @echo off ^
+
+%%~dp0\bin\dart %%~dp0\snapshots\analysis_server.dart.snapshot --lsp %%* ^
+
+> analysis-server-dart-snapshot.cmd