Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
pdfgrep: better test
Browse files Browse the repository at this point in the history
Closes #37276.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
dunn authored and MikeMcQuaid committed Mar 1, 2015
1 parent aab62aa commit 07ca617
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Library/Formula/pdfgrep.rb
@@ -1,5 +1,3 @@
require "formula"

class Pdfgrep < Formula
homepage "http://pdfgrep.sourceforge.net/"
url "https://downloads.sourceforge.net/project/pdfgrep/1.3.1/pdfgrep-1.3.1.tar.gz"
Expand All @@ -12,10 +10,10 @@ class Pdfgrep < Formula

def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
system "make", "install"
end

test do
system "#{bin}/pdfgrep", "--version"
system bin/"pdfgrep", "-i", "homebrew", test_fixtures("test.pdf")
end
end

0 comments on commit 07ca617

Please sign in to comment.