From e0a3fcffb66fe3807e13e8e895de4756a0abbc63 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Thu, 9 Jul 2020 12:45:34 -0600 Subject: [PATCH] LSP working for Scala, mostly --- scripts/docker-install-phase5.bash | 17 ++++++++--------- scripts/docker-install-phase7.bash | 10 ++++++++++ 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/scripts/docker-install-phase5.bash b/scripts/docker-install-phase5.bash index d017710..320c4e8 100755 --- a/scripts/docker-install-phase5.bash +++ b/scripts/docker-install-phase5.bash @@ -105,15 +105,14 @@ chmod +x /opt/mspyls/Microsoft.Python.LanguageServer ln -s /opt/mspyls/Microsoft.Python.LanguageServer /usr/bin/Microsoft.Python.LanguageServer rm Python-Language-Server-linux-x64.*.nupkg -# SNOBOL -wget -nv ftp://ftp.snobol4.org/snobol/old/snobol4-2.1.4.tar.gz -tar -xf snobol4-*.tar.gz -rm snobol4-*.tar.gz -pushd snobol4-* >/dev/null -make || true -mv snobol4 /usr/bin/snobol4 -popd >/dev/null -rm -rf snobol4-* +# Scala +wget -nv https://git.io/coursier-cli +chmod +x coursier-cli +mv coursier-cli /usr/bin/coursier +coursier bootstrap --java-opt -Xss4m --java-opt -Xms100m --java-opt -Dmetals.client=emacs org.scalameta:metals_2.12:0.9.1 -r bintray:scalacenter/releases -r sonatype:snapshots -o /usr/bin/metals +metals -version /dev/null +make || true +mv snobol4 /usr/bin/snobol4 +popd >/dev/null +rm -rf snobol4-* + popd >/dev/null rm "$0"