File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ echo Make sure that you have built the language-server.kotlin-lsp.zip by running org.jetbrains.ls.building.BuildLSP.main
6
+
7
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
8
+ RELATIVE_FILE_PATH=" ../../../out/jps-artifacts/language_server_kotlin_lsp_zip/language-server.kotlin-lsp.zip"
9
+ LSP_ZIP_PATH=" $( cd " $SCRIPT_DIR " && cd " $( dirname " $RELATIVE_FILE_PATH " ) " && echo " $( pwd) /$( basename " $RELATIVE_FILE_PATH " ) " ) "
10
+ export LSP_ZIP_PATH
11
+
12
+ if [ ! -e " $LSP_ZIP_PATH " ]; then
13
+ echo " language-server.kotlin-lsp.zip not exist. Exiting"
14
+ exit 1
15
+ fi
16
+
17
+ echo " Using $LSP_ZIP_PATH "
18
+
19
+ npx --yes vsce package --baseContentUrl=https://github.com/Kotlin/kotlin-lsp/tree/main/kotlin-vscode
You can’t perform that action at this time.
0 commit comments