Skip to content

Commit

Permalink
deheader 1.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#35808.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
bfontaine authored and MikeMcQuaid committed Jan 13, 2015
1 parent 28f3f80 commit 3e729d3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Formula/deheader.rb
@@ -1,10 +1,8 @@
require 'formula'

class Deheader < Formula
homepage 'http://www.catb.org/~esr/deheader'
url 'http://www.catb.org/~esr/deheader/deheader-0.8.tar.gz'
sha1 '4527b4675a7b06d728cfa989a3b7844cdf091b40'
head 'https://git.gitorious.org/deheader/deheader.git'
homepage "http://www.catb.org/~esr/deheader"
url "http://www.catb.org/~esr/deheader/deheader-1.0.tar.gz"
sha1 "dc9fc816af1631a84ace7f94a85a3a424d72dbed"
head "https://git.gitorious.org/deheader/deheader.git"

def install
bin.install "deheader"
Expand All @@ -20,6 +18,6 @@ def install
return 0;
}
EOS
assert_equal "121", `deheader test.c | tr -cd 0-9`
assert_equal "121", shell_output("deheader test.c | tr -cd 0-9")
end
end

0 comments on commit 3e729d3

Please sign in to comment.