From c6f1ccc2157012cdbc7a70fa9cf8595a1fb5ac1a Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 19 May 2014 20:29:54 -0700 Subject: make `tests` an internal command --- Library/Homebrew/cmd/tests.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 Library/Homebrew/cmd/tests.rb (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/tests.rb b/Library/Homebrew/cmd/tests.rb new file mode 100755 index 000000000..27f522d65 --- /dev/null +++ b/Library/Homebrew/cmd/tests.rb @@ -0,0 +1,9 @@ +module Homebrew extend self + def tests + (HOMEBREW_LIBRARY/'Homebrew/test').cd do + ENV['TESTOPTS'] = '-v' if ARGV.verbose? + system "rake", "deps", "test" + exit $?.exitstatus + end + end +end -- cgit v1.2.3