diff options
| author | Chilledheart | 2014-10-13 10:12:10 +0800 |
|---|---|---|
| committer | Jack Nagel | 2014-10-16 22:41:35 -0500 |
| commit | 057964de4b52713e274fe012928e107f8fbcb86f (patch) | |
| tree | 10790fc2e540630d2df56d5bec607bb313512189 /Library/Formula | |
| parent | 56d800d115bdc2aec6266e08d91066352d369492 (diff) | |
| download | homebrew-057964de4b52713e274fe012928e107f8fbcb86f.tar.bz2 | |
mosh: add build-time check option
Closes #33095.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mobile-shell.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/mobile-shell.rb b/Library/Formula/mobile-shell.rb index 7e821547c..3b6538541 100644 --- a/Library/Formula/mobile-shell.rb +++ b/Library/Formula/mobile-shell.rb @@ -13,6 +13,8 @@ class MobileShell < Formula depends_on "automake" => :build end + option "with-check", "Run build-time tests" + depends_on "openssl" depends_on "pkg-config" => :build depends_on "protobuf" @@ -28,6 +30,7 @@ class MobileShell < Formula # https://github.com/keithw/mosh/blob/master/README.md ENV.O2 system "./configure", "--prefix=#{prefix}", "--enable-completion" + system "make", "check" if build.with? "check" system "make", "install" end end |
