Skip to content

Commit

Permalink
hoedown: 2.0.0 - Markdown to HTML converter
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#25246.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
sbp authored and MikeMcQuaid committed Dec 16, 2013
1 parent 1d191da commit 2fb388d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/hoedown.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
require 'formula'

class Hoedown < Formula
homepage 'https://github.com/hoedown/hoedown'
url 'https://github.com/hoedown/hoedown/archive/2.0.0.tar.gz'
sha1 '51cd3f80b4798fb305b66bbfce4cfa7da9f1b775'

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

0 comments on commit 2fb388d

Please sign in to comment.