File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ # start container with
2+ # docker pull maven:3.5.4-jdk-8
3+ # docker run --rm --name sparklin -it maven:3.5.4-jdk-8 /bin/bash --login
4+
5+
6+ # # install kotlin, maven and gradle
7+ apt-get update
8+ apt-get install zip
9+ curl -s ' https://get.sdkman.io' | bash
10+ source ~ /.sdkman/bin/sdkman-init.sh && sdkman_auto_answer=true && sdk install kotlin && sdk install maven && sdk install gradle && sdk install kscript
11+
12+ cd /
13+ git clone https://github.com/khud/sparklin
14+ cd sparklin
15+ git checkout f200d1461d7f5f6ca625c39fb7915d4fa71eb56e
16+ mvn clean install
17+
18+ cd /
19+ git clone https://github.com/khud/kshell-repl-api
20+ cd kshell-repl-api
21+ git checkout c32e4e
22+ mvn install
23+
24+ # # test the orignal launcher
25+ # ../sparklin/bin/kshell.sh
26+
27+ cd /
28+ wget https://raw.githubusercontent.com/holgerbrandl/kscript/master/misc/kshell_launcher/kshell_kts.sh
29+ chmod +x kshell_kts.sh
30+
31+ echo ' @file:DependsOn("de.mpicbg.scicomp:krangl:0.9.1")' >> example.kts
32+
33+ ./kshell_kts.sh example.kts
Original file line number Diff line number Diff line change 1515// should be now on maven central
1616@file:DependsOn("com.github.khud:kshell-repl-api:0.2.4-1.2.60")
1717
18- @file:DependsOn("sparklin:jline3-shaded:0.2-SNAPSHOT ")
18+ @file:DependsOn("sparklin:jline3-shaded:0.2")
1919
2020//@file:DependsOn("sparklin:kshell:0.2-SNAPSHOT")
2121@file:DependsOn("sparklin:kshell:0.2.5")
You can’t perform that action at this time.
0 commit comments