diff options
| author | Xu Cheng | 2015-01-01 23:54:26 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-01 16:47:47 +0000 |
| commit | 2702f2cfa467d2bcd6cb6a2cf3279a42b6a06f46 (patch) | |
| tree | f43c8ccb89b8f060848d4e6abbe8cea5496ab0fb /Library/Formula | |
| parent | fd80f3e7e594795e2c5f4b7cbe8681d171bdd1eb (diff) | |
| download | homebrew-2702f2cfa467d2bcd6cb6a2cf3279a42b6a06f46.tar.bz2 | |
blueutil: add test
Closes #35420.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/blueutil.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/blueutil.rb b/Library/Formula/blueutil.rb index c6a184625..60e9bd1c9 100644 --- a/Library/Formula/blueutil.rb +++ b/Library/Formula/blueutil.rb @@ -1,11 +1,9 @@ -require 'formula' - class Blueutil < Formula - homepage 'https://github.com/toy/blueutil' - url 'https://github.com/toy/blueutil/archive/v1.0.0.tar.gz' - sha1 'b1cce64f7fa87eb0cfa32ef8e1dfc1aa06dbbd98' + homepage "https://github.com/toy/blueutil" + url "https://github.com/toy/blueutil/archive/v1.0.0.tar.gz" + sha1 "b1cce64f7fa87eb0cfa32ef8e1dfc1aa06dbbd98" - head 'https://github.com/toy/blueutil.git' + head "https://github.com/toy/blueutil.git" bottle do cellar :any @@ -18,7 +16,11 @@ class Blueutil < Formula def install # Set to build with SDK=macosx10.6, but it doesn't actually need 10.6 - xcodebuild 'SDKROOT=', 'SYMROOT=build' - bin.install 'build/Release/blueutil' + xcodebuild "SDKROOT=", "SYMROOT=build" + bin.install "build/Release/blueutil" + end + + test do + system "#{bin}/blueutil" end end |
