95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
19 lines
617 B
Ruby
19 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
|