rainbarf 1.3
fix the test set bottle unneeded add head spec Closes #2618. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
ed30d25b0d
commit
34a42f3c4f
1 changed files with 7 additions and 9 deletions
|
@ -1,15 +1,11 @@
|
||||||
class Rainbarf < Formula
|
class Rainbarf < Formula
|
||||||
desc "CPU/RAM/battery stats chart bar for tmux (and GNU screen)"
|
desc "CPU/RAM/battery stats chart bar for tmux (and GNU screen)"
|
||||||
homepage "https://github.com/creaktive/rainbarf"
|
homepage "https://github.com/creaktive/rainbarf"
|
||||||
url "https://github.com/creaktive/rainbarf/archive/v1.2.tar.gz"
|
url "https://github.com/creaktive/rainbarf/archive/v1.3.tar.gz"
|
||||||
sha256 "0ed48afe52890ccd92c21cc9f1533ecd3b936fbff93d4a4a4d39868388671d80"
|
sha256 "e2491e9f40f2822a416305a56e47228bd6bfc1688314ad5d8d8c702d4e79c578"
|
||||||
|
head "https://github.com/creaktive/rainbarf.git"
|
||||||
|
|
||||||
bottle do
|
bottle :unneeded
|
||||||
cellar :any_skip_relocation
|
|
||||||
sha256 "39b5a8eabc041a4b2123993451aa4ebe9693ab89849dd19c9fb7104a8db44aaa" => :el_capitan
|
|
||||||
sha256 "98b92bee77eca904745cbb5538a0a9515bc4d1d41aff8d4011d542a674bd69fe" => :yosemite
|
|
||||||
sha256 "98e96f814661e0bd2702eaeef51261ed9c6d1ad06a24f7123107ec22a6f2fc28" => :mavericks
|
|
||||||
end
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "pod2man", "rainbarf", "rainbarf.1"
|
system "pod2man", "rainbarf", "rainbarf.1"
|
||||||
|
@ -18,6 +14,8 @@ class Rainbarf < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system "#{bin}/rainbarf"
|
# Avoid "Use of uninitialized value $battery" and sandbox violation
|
||||||
|
# Reported 5 Sep 2016 https://github.com/creaktive/rainbarf/issues/30
|
||||||
|
assert_match version.to_s, shell_output("#{bin}/rainbarf --help", 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue