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 cdf5666 commit e29513dCopy full SHA for e29513d
src/jreleaser/distributions/ki/brew/Formula/ki.sh.rb
@@ -0,0 +1,23 @@
1
+class {{brewFormulaName}} < Formula
2
+ desc "ki shell"
3
+ homepage "http://github.com/Kotlin/kotlin-interactive-shell"
4
+ version "{{projectVersion}}"
5
+ url "{{distributionUrl}}"
6
+ sha256 "{{distributionSha256}}"
7
+ license "Apache-2"
8
+
9
+ bottle :unneeded
10
11
+ depends_on "openjdk@8"
12
13
+ def install
14
+ libexec.install Dir["*"]
15
+ rm Dir["#{libexec}/bin/*.bat"]
16
+ bin.install_symlink "#{libexec}/bin/*"
17
+ end
18
19
+ test do
20
+ output = shell_output("#{bin}/bin/ki.sh <<< '' 2>&1 | grep ki-shell")
21
+ assert_match "ki-shell 0.3/1.4.21", output
22
23
+end
0 commit comments