diff options
author | Georgie <george@fivetran.com> | 2016-05-22 15:38:33 -0700 |
---|---|---|
committer | Georgie <george@fivetran.com> | 2016-05-22 15:38:33 -0700 |
commit | 81756eea8b5f9fe92244037e661cf22f40d04cfa (patch) | |
tree | 52a8ac2c4d5a9c76bd1bfd5e66baf708f77be20b /scripts | |
parent | 7ffbfd88f4b5a6b8736101dc8469bcd12fd333e8 (diff) | |
download | java-language-server-81756eea8b5f9fe92244037e661cf22f40d04cfa.zip |
Fix install
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 44c0bad..2620675 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,21 +1,14 @@ # Installs locally +# You will need java, maven, vsce, and visual studio code to run this script -# Compile typescript -tsc +# Clear existing installation +rm -rf ~/.vscode/extensions/georgewfraser.vscode-javac-* # Build fat jar mvn package -# Ensure .vscode/extensions/vscode-javac exists -mkdir -p ~/.vscode/extensions/vscode-javac +# Build vsix +vsce package -o build.vsix -# Clear .vscode/extensions/vscode-javac -rm -rf ~/.vscode/extensions/vscode-javac - -# Copy runtime to .vscode/extensions/vscode-javac -mkdir -p ~/.vscode/extensions/vscode-javac/out/lib/ - -cp ./out/lib/*.js ~/.vscode/extensions/vscode-javac/out/lib/ -cp ./out/fat-jar.jar ~/.vscode/extensions/vscode-javac/out/ -cp -r ./node_modules ~/.vscode/extensions/vscode-javac/node_modules -cp ./package.json ~/.vscode/extensions/vscode-javac/package.json
\ No newline at end of file +# Install vsix +code build.vsix
\ No newline at end of file |