diff options
| author | Adam Vandenberg | 2014-05-19 20:29:54 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-21 08:27:13 -0700 |
| commit | c6f1ccc2157012cdbc7a70fa9cf8595a1fb5ac1a (patch) | |
| tree | 531dc0f9d5f1e93c1116848c28906c664dcdbc7b /Library/Homebrew | |
| parent | b2b74260dbf7ea106e9b905fb68419dc17f3ab7a (diff) | |
| download | brew-c6f1ccc2157012cdbc7a70fa9cf8595a1fb5ac1a.tar.bz2 | |
make `tests` an internal command
Diffstat (limited to 'Library/Homebrew')
| -rwxr-xr-x | Library/Homebrew/cmd/tests.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
