Skip to content

Commit

Permalink
poster: test added
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#39658.

Signed-off-by: Xu Cheng <xucheng@me.com>
  • Loading branch information
bfontaine authored and xu-cheng committed May 12, 2015
1 parent 27b687e commit 78d5078
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Formula/poster.rb
@@ -1,13 +1,15 @@
require 'formula'

class Poster < Formula
homepage 'http://schrfr.github.io/poster/'
url 'https://github.com/schrfr/poster/archive/1.0.0.tar.gz'
sha1 '20846c17fc0c266caecf82b24cbe7906999a410c'
homepage "https://schrfr.github.io/poster/"
url "https://github.com/schrfr/poster/archive/1.0.0.tar.gz"
sha256 "1df49dfd4e50ffd66e0b6e279b454a76329a36280e0dc73b08e5b5dcd5cff451"

def install
system "make"
bin.install 'poster'
man1.install 'poster.1'
bin.install "poster"
man1.install "poster.1"
end

test do
system "#{bin}/poster", test_fixtures("test.ps")
end
end

0 comments on commit 78d5078

Please sign in to comment.