ktlint 0.40.0 (#66267)
* ktlint 0.40.0 * fix build Signed-off-by: Rui Chen <rui@meetup.com> Co-authored-by: Rui Chen <rui@meetup.com>master
parent
0968f45c31
commit
1a49648416
|
@ -1,14 +1,18 @@
|
|||
class Ktlint < Formula
|
||||
desc "Anti-bikeshedding Kotlin linter with built-in formatter"
|
||||
homepage "https://ktlint.github.io/"
|
||||
url "https://github.com/pinterest/ktlint/releases/download/0.39.0/ktlint"
|
||||
sha256 "cf1c1a2efca79d07957a4de815af6e74287e46730d02393593edfa304e237153"
|
||||
url "https://github.com/pinterest/ktlint/releases/download/0.40.0/ktlint"
|
||||
sha256 "4739662e9ac9a9894a1eb47844cbb5610971f15af332eac94d108d4f55ebc19e"
|
||||
license "MIT"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on "openjdk"
|
||||
|
||||
def install
|
||||
bin.install "ktlint"
|
||||
libexec.install "ktlint"
|
||||
(libexec/"ktlint").chmod 0755
|
||||
(bin/"ktlint").write_env_script libexec/"ktlint", JAVA_HOME: Formula["openjdk"].opt_prefix
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in New Issue