aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2015-01-11 09:43:08 -0800
committerBrett Koonce2015-01-12 08:55:09 -0800
commitdaecb95735dfaeefc9787a99764b5dbf8d49b3ae (patch)
tree4469ec470bd4d2c2adf06b50c55412339e81fe7b /Library/Formula
parent687e21d3233f59cc07472030decc6e5871d797a4 (diff)
downloadhomebrew-daecb95735dfaeefc9787a99764b5dbf8d49b3ae.tar.bz2
hoedown 3.0.1
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hoedown.rb18
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/hoedown.rb b/Library/Formula/hoedown.rb
index 841adcfd6..03eb26083 100644
--- a/Library/Formula/hoedown.rb
+++ b/Library/Formula/hoedown.rb
@@ -1,20 +1,18 @@
-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'
+ homepage "https://github.com/hoedown/hoedown"
+ url "https://github.com/hoedown/hoedown/archive/3.0.1.tar.gz"
+ sha1 "4a2e8bd7c22f13644b234e17c2541c8ffc935c34"
def install
- system 'make', 'hoedown'
- bin.install 'hoedown'
- prefix.install 'test'
+ system "make", "hoedown"
+ bin.install "hoedown"
+ prefix.install "test"
end
test do
- system 'perl', "#{prefix}/test/MarkdownTest_1.0.3/MarkdownTest.pl",
+ system "perl", "#{prefix}/test/MarkdownTest_1.0.3/MarkdownTest.pl",
"--script=#{bin}/hoedown",
"--testdir=#{prefix}/test/MarkdownTest_1.0.3/Tests",
- '--tidy'
+ "--tidy"
end
end