blueutil: add test
Closes Homebrew/homebrew#35420. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
c230a566c9
commit
f7c08be3d8
1 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue