diff options
| author | Robson Roberto Souza Peixoto | 2015-01-30 00:24:38 -0300 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-01 11:12:01 +0100 |
| commit | 59b3abfed9cc1792bdcf0ea2681cf8f615051d83 (patch) | |
| tree | 7da5bf01d1d517a7522fd3bd1f44c6591d0e2cf3 | |
| parent | afebaa2c8f16becaab1448512490cfd9eed42556 (diff) | |
| download | homebrew-59b3abfed9cc1792bdcf0ea2681cf8f615051d83.tar.bz2 | |
checkstyle 6.2
Closes #36372.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/checkstyle.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/checkstyle.rb b/Library/Formula/checkstyle.rb index 46d902ee5..ed3aaf64b 100644 --- a/Library/Formula/checkstyle.rb +++ b/Library/Formula/checkstyle.rb @@ -2,11 +2,11 @@ require "formula" class Checkstyle < Formula homepage "http://checkstyle.sourceforge.net/" - url "https://downloads.sourceforge.net/project/checkstyle/checkstyle/6.0/checkstyle-6.0-bin.tar.gz" - sha1 "55628df367e55127205bb3d8f333db26bdf28b3c" + url "https://downloads.sourceforge.net/project/checkstyle/checkstyle/6.2/checkstyle-6.2-bin.tar.gz" + sha1 "5b92798c55cbc8cf87f1435a2fc64e04d50a6648" def install - libexec.install "checkstyle-#{version}-all.jar", "sun_checks.xml" + libexec.install "checkstyle-#{version}-all.jar" bin.write_jar_script libexec/"checkstyle-#{version}-all.jar", "checkstyle" end @@ -14,7 +14,7 @@ class Checkstyle < Formula path = testpath/"foo.java" path.write "public class Foo{ }\n" - output = `#{bin}/checkstyle -c #{libexec}/sun_checks.xml -r #{path}` + output = `#{bin}/checkstyle -c /sun_checks.xml -r #{path}` errors = output.split("\n").select { |line| line.start_with?(path) } assert errors.include?("#{path}:1:17: '{' is not preceded with whitespace.") assert_equal errors.size, $?.exitstatus |
