Skip to content
Permalink
Browse files

Use standalone launchers for snapshots

So that we don't have to copy ~/.ivy2/local in the images
  • Loading branch information...
alexarchambault committed Mar 27, 2019
1 parent 6bd2f68 commit a69561ae6a9b906ac1ff02b5c7c07ecb29ac4c7d
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/install-kernels.sh
@@ -9,12 +9,16 @@ for SCALA_FULL_VERSION in ${SCALA_VERSIONS}; do
# remove all dots for the kernel id
SCALA_MAJOR_VERSION_TRIMMED=$(echo ${SCALA_MAJOR_VERSION} | tr -d .)
echo Installing almond ${ALMOND_VERSION} for Scala ${SCALA_FULL_VERSION}
EXTRA_ARGS=()
if [[ ${ALMOND_VERSION} == *-SNAPSHOT ]]; then
EXTRA_ARGS+=('--standalone')
fi
coursier bootstrap \
-r jitpack \
-i user -I user:sh.almond:scala-kernel-api_${SCALA_FULL_VERSION}:${ALMOND_VERSION} \
sh.almond:scala-kernel_${SCALA_FULL_VERSION}:${ALMOND_VERSION} \
--default=true --sources \
-o almond
-o almond ${EXTRA_ARGS[@]}
./almond --install --log info --metabrowse --id scala${SCALA_MAJOR_VERSION_TRIMMED} --display-name "Scala ${SCALA_MAJOR_VERSION}"
rm -f almond
done

0 comments on commit a69561a

Please sign in to comment.
You can’t perform that action at this time.