aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/blueutil.rb18
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