Files
2015-08-03 14:21:42 +01:00

20 lines
617 B
Ruby

class Hoedown < Formula
desc "Secure Markdown processing (a revived fork of Sundown)"
homepage "https://github.com/hoedown/hoedown"
url "https://github.com/hoedown/hoedown/archive/3.0.1.tar.gz"
sha256 "388e1658fa1538c58b22efe67a64104922cba81afa0387c58118e239e3ca01b4"
def install
system "make", "hoedown"
bin.install "hoedown"
prefix.install "test"
end
test do
system "perl", "#{prefix}/test/MarkdownTest_1.0.3/MarkdownTest.pl",
"--script=#{bin}/hoedown",
"--testdir=#{prefix}/test/MarkdownTest_1.0.3/Tests",
"--tidy"
end
end