sonarlint 2.0 (new formula) (#6948)
This commit is contained in:
parent
5b55fce935
commit
522b253ff1
1 changed files with 22 additions and 0 deletions
22
Formula/homebrew/core/sonarlint.rb
Normal file
22
Formula/homebrew/core/sonarlint.rb
Normal 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
|
Loading…
Reference in a new issue