Skip to content

Commit

Permalink
cproto 4.7m
Browse files Browse the repository at this point in the history
  • Loading branch information
dunn committed Aug 13, 2015
1 parent 6a22bf5 commit 51c343c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Library/Formula/cproto.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
class Cproto < Formula
desc "Generate function prototypes for functions in input files"
homepage "https://invisible-island.net/cproto"
url "ftp:https://invisible-island.net/cproto/cproto-4.7l.tgz"
sha256 "823a1e0480bbb39958c6c322c665932dd74286a8eb6dfe652528b6b8c3d873a5"
url "ftp:https://invisible-island.net/cproto/cproto-4.7m.tgz"
mirror "https://mirrors.kernel.org/debian/pool/main/c/cproto/cproto_4.7m.orig.tar.gz"
sha256 "4b482e80f1b492e94f8dcda74d25a7bd0381c870eb500c18e7970ceacdc07c89"

bottle do
cellar :any
Expand All @@ -22,8 +23,6 @@ def install

test do
(testpath/"woot.c").write("int woot() {\n}")

assert_match(/int woot.void.;/,
shell_output("#{bin}/cproto woot.c"))
assert_match(/int woot.void.;/, shell_output("#{bin}/cproto woot.c"))
end
end

0 comments on commit 51c343c

Please sign in to comment.