sonarlint 2.0 (new formula) (#6948)

This commit is contained in:
adam-moss 2016-11-16 06:21:19 +00:00 committed by William Woodruff
parent 5b55fce935
commit 522b253ff1

View file

@ -0,0 +1,22 @@
class Sonarlint < Formula
desc "provides pre-commit feedback on quality issues injected into code."
homepage "http://www.sonarlint.org/commandline/index.html"
url "https://bintray.com/sonarsource/Distribution/download_file?file_path=sonarlint-cli%2Fsonarlint-cli-2.0.zip"
sha256 "dafbaba032330f898e0f750f80ac212260cf825070dced1c2376c07c9d34c007"
bottle :unneeded
depends_on :java => "1.8+"
def install
rm_f Dir["bin/*.bat"]
libexec.install Dir["*"]
bin.write_exec_script libexec/"bin/sonarlint"
end
test do
system "#{bin}/sonarlint", "--version"
end
end