diff options
| author | Baptiste Fontaine | 2014-12-24 14:40:10 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-12-24 11:06:55 -0500 |
| commit | edbbddbb96347edea2cb64b3be6e518bc7234150 (patch) | |
| tree | e518b84e54a70e1561e063f56ff4e1a0536ba2d3 | |
| parent | 671c5ad85e96b1f5e9bdb48f7005eabb09d55819 (diff) | |
| download | homebrew-edbbddbb96347edea2cb64b3be6e518bc7234150.tar.bz2 | |
gitbucket 2.6
Closes #35234.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/gitbucket.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/gitbucket.rb b/Library/Formula/gitbucket.rb index 91a7244ce..20a83dc32 100644 --- a/Library/Formula/gitbucket.rb +++ b/Library/Formula/gitbucket.rb @@ -1,9 +1,7 @@ -require "formula" - class Gitbucket < Formula homepage "https://github.com/takezoe/gitbucket" - url "https://github.com/takezoe/gitbucket/releases/download/2.4.1/gitbucket.war" - sha256 "365ec6f2c496a27a220851af6e7f3e2a8a996e34782a20fc3317b21f9bdaf242" + url "https://github.com/takezoe/gitbucket/releases/download/2.6/gitbucket.war" + sha256 "9cbd3c2dbbd6ce71e2105b992e07b21fd1f8af884892d338d431eebcf113201b" head do url "https://github.com/takezoe/gitbucket.git" @@ -48,4 +46,12 @@ class Gitbucket < Formula Note: When using launchctl the port will be 8080. EOS end + + test do + io = IO.popen("java -jar #{libexec}/gitbucket.war") + sleep 12 + Process.kill("SIGINT", io.pid) + Process.wait(io.pid) + io.read !~ /Exception/ + end end |
