aboutsummaryrefslogtreecommitdiff
path: root/installer/install-analysis-server-dart-snapshot.cmd
diff options
context:
space:
mode:
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