diff options
| author | Mike McQuaid | 2013-02-17 13:32:15 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-02-18 10:42:44 +0000 |
| commit | 4a281cd5cf8f722d73a4f50612e8c460f57fddd7 (patch) | |
| tree | 765c472cc951590398a52651b59051af2cdd2b59 /Library/Contributions/cmd/brew-tests.rb | |
| parent | e9d58c410052157487f96a77dd318cbda641806e (diff) | |
| download | brew-4a281cd5cf8f722d73a4f50612e8c460f57fddd7.tar.bz2 | |
Rename Library/Contributions/cmds -> cmd.
Diffstat (limited to 'Library/Contributions/cmd/brew-tests.rb')
| -rwxr-xr-x | Library/Contributions/cmd/brew-tests.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-tests.rb b/Library/Contributions/cmd/brew-tests.rb new file mode 100755 index 000000000..0a2fb78e7 --- /dev/null +++ b/Library/Contributions/cmd/brew-tests.rb @@ -0,0 +1,11 @@ +module Homebrew extend self + def tests + (HOMEBREW_LIBRARY/'Homebrew/test').cd do + ENV['TESTOPTS'] = '-v' if ARGV.verbose? + system "rake", "test" + exit $?.exitstatus + end + end +end + +Homebrew.tests |
