diff options
| author | Alex Dunn | 2015-04-25 18:40:40 -0700 |
|---|---|---|
| committer | Xu Cheng | 2015-04-26 18:07:21 +0800 |
| commit | c04d8d47c65220b22dda4f523508c50755ca29d1 (patch) | |
| tree | d2ec2412f031a4ca37e0a6185f38353e9b77b3b9 | |
| parent | 5631709505df050cab9673b02db534e2f2cc09e0 (diff) | |
| download | homebrew-c04d8d47c65220b22dda4f523508c50755ca29d1.tar.bz2 | |
halibut 1.1
Closes #39068.
Signed-off-by: Xu Cheng <xucheng@me.com>
| -rw-r--r-- | Library/Formula/halibut.rb | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Library/Formula/halibut.rb b/Library/Formula/halibut.rb index f9c49b714..3f5d28779 100644 --- a/Library/Formula/halibut.rb +++ b/Library/Formula/halibut.rb @@ -1,9 +1,9 @@ -require 'formula' - class Halibut < Formula - homepage 'http://www.chiark.greenend.org.uk/~sgtatham/halibut/' - url 'http://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.0.tar.gz' - sha1 '1e4643faf2bb4e1843740b8c70635d3d33bb7989' + homepage "http://www.chiark.greenend.org.uk/~sgtatham/halibut/" + url "http://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.1.tar.gz" + sha256 "b964950d11ed09d3af28ac095da539613f6e50d650f01fe72b4ae752724c80a0" + + head "git://git.tartarus.org/simon/halibut.git" bottle do cellar :any @@ -23,13 +23,10 @@ class Halibut < Formula end test do - # Initial sanity test - system "#{bin}/halibut", "--version" - - # Test converting to HTML. - (testpath/'sample.but').write('Hello, world!') + (testpath/"sample.but").write("Hello, world!") system "#{bin}/halibut", "--html=sample.html", "sample.but" - assert_match /<p>\nHello, world!\n<\/p>/, (testpath/'sample.html').read() + assert_match("<p>\nHello, world!\n<\/p>", + (testpath/"sample.html").read) end end |
