diff options
| author | Josh Hagins | 2015-01-03 12:32:32 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-03 23:03:04 -0500 |
| commit | 46485c8dd2efabc6bc3ca5b10d63e76aa5862cf9 (patch) | |
| tree | 0743ba54ee3d58b8ae38e5d2c7ade88e69d2fde8 | |
| parent | 0169cc741260351a794a22aaffd1dff4a2e7cace (diff) | |
| download | homebrew-46485c8dd2efabc6bc3ca5b10d63e76aa5862cf9.tar.bz2 | |
scalastyle 0.6.0
Closes #35517.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/scalastyle.rb | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Library/Formula/scalastyle.rb b/Library/Formula/scalastyle.rb index d6e77e407..9fa41afa6 100644 --- a/Library/Formula/scalastyle.rb +++ b/Library/Formula/scalastyle.rb @@ -1,25 +1,22 @@ -require "formula" - class Scalastyle < Formula homepage "http://www.scalastyle.org/command-line.html" - url "https://oss.sonatype.org/content/repositories/releases/org/scalastyle/scalastyle-batch_2.10/0.5.0/scalastyle-batch_2.10-0.5.0-distribution.zip" - version "0.5.0" - sha1 "bf009e0c4d48e5effce5113f5feb3da626ca1248" + url "https://oss.sonatype.org/content/repositories/releases/org/scalastyle/scalastyle_2.10/0.6.0/scalastyle_2.10-0.6.0-batch.jar" + sha1 "01c744fa7eef25f7183beea5d603ce9658861fcf" resource "default_config" do - url "https://raw.githubusercontent.com/scalastyle/scalastyle/e41e5df2cf4b616d06d1f5b8c383ec084fc32012/lib/scalastyle_config.xml" - sha1 "993c4d665ae75930c262fcd8a13eef0e9604920f" + url "https://raw.githubusercontent.com/scalastyle/scalastyle/v0.6.0/lib/scalastyle_config.xml" + version "0.6.0" + sha1 "c22165ccda7ef285665041ad07a4b31a639a85c3" end def install - (libexec/"lib").install Dir["lib/*.jar"] - libexec.install "scalastyle-batch_2.10.jar" + libexec.install "scalastyle_2.10-0.6.0-batch.jar" etc.install resource("default_config") (bin/"scalastyle").write <<-EOS.undent #!/bin/sh - java -jar "#{libexec}/scalastyle-batch_2.10.jar" --config "#{etc}/scalastyle_config.xml" "$@" + java -jar "#{libexec}/scalastyle_2.10-0.6.0-batch.jar" --config "#{etc}/scalastyle_config.xml" "$@" EOS end |
