From 805b37fcf7482f7d5b9bfe41573edd3eaf4282ae Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 30 Apr 2014 23:36:42 +0100 Subject: cookiecutter: add test. --- Library/Formula/cookiecutter.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/cookiecutter.rb b/Library/Formula/cookiecutter.rb index 7b5506ae0..4aad6557c 100644 --- a/Library/Formula/cookiecutter.rb +++ b/Library/Formula/cookiecutter.rb @@ -14,4 +14,8 @@ class Cookiecutter < Formula bin.install Dir[libexec/'bin/*'] bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) end + + test do + system "#{bin}/cookiecutter", "--help" + end end -- cgit v1.2.3