aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bear.rb
diff options
context:
space:
mode:
authorDominyk Tiller2015-02-04 03:18:16 +0000
committerMike McQuaid2015-02-04 17:21:45 +0000
commitec8a513e33b6e81fe2d3de91e8bcf8aae05f2eda (patch)
tree46bdbedbf7c37b7e08283823cdf922b2a6fc98c9 /Library/Formula/bear.rb
parentf150de5aa913dd1ef0a3436911b1789e97fb69bf (diff)
downloadhomebrew-ec8a513e33b6e81fe2d3de91e8bcf8aae05f2eda.tar.bz2
bear 2.0.1
The existing test seems to be erroring out now, so I’ve replaced it with what existed previously. Otherwise, just a bump. Closes #36520. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/bear.rb')
-rw-r--r--Library/Formula/bear.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/bear.rb b/Library/Formula/bear.rb
index 05c45214e..3fd8e392a 100644
--- a/Library/Formula/bear.rb
+++ b/Library/Formula/bear.rb
@@ -1,10 +1,10 @@
-require "formula"
-
class Bear < Formula
homepage "https://github.com/rizsotto/Bear"
- url "https://github.com/rizsotto/Bear/archive/1.4.3.tar.gz"
- sha1 "10a212ba608b9fae4101fb5cf8c05c4279524209"
+ url "https://github.com/rizsotto/Bear/archive/2.0.1.tar.gz"
+ sha1 "31cf2b82a44f6eb5a3740c9f8aa9f2cd662e9a68"
+ head "https://github.com/rizsotto/Bear.git"
+ depends_on :python if MacOS.version <= :snow_leopard
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "libconfig"
@@ -17,6 +17,7 @@ class Bear < Formula
end
test do
- system "#{bin}/bear", "--", "true"
+ system "#{bin}/bear", "true"
+ assert File.exist? "compile_commands.json"
end
end