We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 385428d commit 8a09cbbCopy full SHA for 8a09cbb
snapshot-install.sh
@@ -0,0 +1,15 @@
1
+#!/usr/bin/env bash
2
+#
3
+# This script just eases the installation process of the JJava for the development purposes.
4
+# Essentially it's just an automated `maven package && unzip && jupyter kernelspec install` cycle.
5
6
+# Usage: to install SNAPSHOT version of the Kernel just run `./snapshot-install.sh`
7
8
+
9
+BUILD_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
10
+BUILD_DIR="jjava/target/jjava-${BUILD_VERSION}"
11
+KERNEL_DIR="$(pwd)/${BUILD_DIR}"
12
13
+mvn clean package || exit 1
14
+unzip -u "${BUILD_DIR}".zip -d "${BUILD_DIR}" || exit 1
15
+jupyter kernelspec install "${KERNEL_DIR}" --name=java --user || exit 1
0 commit comments