File tree Expand file tree Collapse file tree 4 files changed +154
-2
lines changed Expand file tree Collapse file tree 4 files changed +154
-2
lines changed Original file line number Diff line number Diff line change @@ -58,3 +58,102 @@ buildNumber.properties
58
58
out /
59
59
.idea /
60
60
.env
61
+
62
+ # Created by http://www.toptal.com/developers/gitignore/api/vim
63
+ # Edit at http://www.toptal.com/developers/gitignore?templates=vim
64
+
65
+ # ## Vim ###
66
+ # Swap
67
+ [._ ]* .s [a-v ][a-z ]
68
+ ! * .svg # comment out if you don't need vector files
69
+ [._ ]* .sw [a-p ]
70
+ [._ ]s [a-rt-v ][a-z ]
71
+ [._ ]ss [a-gi-z ]
72
+ [._ ]sw [a-p ]
73
+
74
+ # Session
75
+ Session.vim
76
+ Sessionx.vim
77
+
78
+ # Temporary
79
+ .netrwhist
80
+ * ~
81
+ # Auto-generated tag files
82
+ tags
83
+ # Persistent undo
84
+ [._ ]* .un~
85
+
86
+ # End of http://www.toptal.com/developers/gitignore/api/vim
87
+
88
+ # Created by http://www.toptal.com/developers/gitignore/api/eclipse
89
+ # Edit at http://www.toptal.com/developers/gitignore?templates=eclipse
90
+
91
+ # ## Eclipse ###
92
+ .metadata
93
+ bin /
94
+ tmp /
95
+ * .tmp
96
+ * .bak
97
+ * .swp
98
+ * ~.nib
99
+ local.properties
100
+ .settings /
101
+ .loadpath
102
+ .recommenders
103
+
104
+ # External tool builders
105
+ .externalToolBuilders /
106
+
107
+ # Locally stored "Eclipse launch configurations"
108
+ * .launch
109
+
110
+ # PyDev specific (Python IDE for Eclipse)
111
+ * .pydevproject
112
+
113
+ # CDT-specific (C/C++ Development Tooling)
114
+ .cproject
115
+
116
+ # CDT- autotools
117
+ .autotools
118
+
119
+ # Java annotation processor (APT)
120
+ .factorypath
121
+
122
+ # PDT-specific (PHP Development Tools)
123
+ .buildpath
124
+
125
+ # sbteclipse plugin
126
+ .target
127
+
128
+ # Tern plugin
129
+ .tern-project
130
+
131
+ # TeXlipse plugin
132
+ .texlipse
133
+
134
+ # STS (Spring Tool Suite)
135
+ .springBeans
136
+
137
+ # Code Recommenders
138
+ .recommenders /
139
+
140
+ # Annotation Processing
141
+ .apt_generated /
142
+ .apt_generated_test /
143
+
144
+ # Scala IDE specific (Scala & Java development for Eclipse)
145
+ .cache-main
146
+ .scala_dependencies
147
+ .worksheet
148
+
149
+ # Uncomment this line if you wish to ignore the project description file.
150
+ # Typically, this file would be tracked if it contains build/dependency configurations:
151
+ # .project
152
+
153
+ # ## Eclipse Patch ###
154
+ # Spring Boot Tooling
155
+ .sts4-cache /
156
+
157
+ # End of http://www.toptal.com/developers/gitignore/api/eclipse
158
+ .classpath
159
+ .project
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ if command -v java & > /dev/null; then
4
+ _JAVA=java
5
+ elif [[ -n " $JAVA_HOME " ]] && [[ -x " $JAVA_HOME /bin/java" ]]; then
6
+ _JAVA=" $JAVA_HOME /bin/java"
7
+ else
8
+ echo " java not found"
9
+ exit 1
10
+ fi
11
+
12
+ if [[ " $_JAVA " ]]; then
13
+ JAVA_VERSION=$( " $_JAVA " -version 2>&1 | awk -F ' "' ' /version/ {print $2}' )
14
+ if [[ " $JAVA_VERSION " =~ ^1\. [0-8]+ ]]; then
15
+ if [[ " $JAVA_VERSION " =~ ^1\. [0-7]+ ]]; then
16
+ echo " java has version $JAVA_VERSION but at least 1.8 is required"
17
+ exit 1
18
+ fi
19
+ else
20
+ ADD_OPENS=" --add-opens java.base/java.util=ALL-UNNAMED"
21
+ if [[ " $JAVA_OPTS " ]]; then
22
+ JAVA_OPTS=" $JAVA_OPTS $ADD_OPENS "
23
+ else
24
+ JAVA_OPTS=$ADD_OPENS
25
+ fi
26
+ fi
27
+ fi
28
+
29
+ command -v realpath & > /dev/null || realpath () {
30
+ SCRIPT_PATH=$( [[ $1 == /* ]] && echo " $1 " || echo " $PWD /${1# ./ } " )
31
+ if [[ -L " $SCRIPT_PATH " ]]; then
32
+ readlink " $SCRIPT_PATH "
33
+ else
34
+ echo $SCRIPT_PATH
35
+ fi
36
+ }
37
+
38
+ SCRIPT_DIR=" $( dirname " $( realpath " $0 " ) " ) "
39
+ KI_SHELL=$SCRIPT_DIR /../lib/ki-shell.jar
40
+
41
+ $_JAVA $JAVA_OPTS -jar " ${KI_SHELL} " $@
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " ki"
3
- version = " 0.3.3 "
3
+ version = " 0.4.0 "
4
4
description = " ki shell"
5
5
longDescription = " Extendable Kotlin interactive shell with code completion, syntax highlighting, and other features"
6
6
website = " http://github.com/Kotlin/kotlin-interactive-shell"
16
16
]
17
17
tags = [" cli" , " kotlin" , " shell" , " interactive" ]
18
18
19
+
19
20
[release .github ]
20
21
owner = " Kotlin"
21
22
username = " asm0dey"
29
30
tap.owner = " JetBrains"
30
31
tap.name = " homebrew-utils"
31
32
tap.username = " asm0dey"
33
+
34
+ #
35
+ [packagers .sdkman ]
36
+ active = " ALWAYS"
37
+ continueOnError = true
38
+ releaseNotesUrl = " http://github.com/Kotlin/{{projectName}}/{{tagName}}"
39
+ command = " MINOR"
Original file line number Diff line number Diff line change 5
5
<format >zip</format >
6
6
</formats >
7
7
<files >
8
+ <file >
9
+ <source >bin/ki</source >
10
+ <outputDirectory >bin</outputDirectory >
11
+ </file >
8
12
<file >
9
13
<source >bin/ki.sh</source >
10
14
<outputDirectory >bin</outputDirectory >
19
23
</file >
20
24
</files >
21
25
<id >archive</id >
22
- </assembly >
26
+ </assembly >
You can’t perform that action at this time.
0 commit comments