Skip to content

Commit 51ff8c7

Browse files
committed
Add bose 0.2.0 formula
1 parent 1643d77 commit 51ff8c7

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Formula/bose.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class Bose < Formula
2+
desc "CLI to control Bose SoundTouch speakers"
3+
homepage "https://github.com/timvw/bose"
4+
url "https://github.com/timvw/bose/archive/refs/tags/v0.2.0.tar.gz"
5+
sha256 "b23bc1cd037a662a4cc4503ab920ede2ede0090337c3395a9a8504f9157b9a1a"
6+
license "Apache-2.0"
7+
8+
depends_on "rust" => :build
9+
10+
def install
11+
system "cargo", "install", *std_cargo_args
12+
end
13+
14+
test do
15+
assert_match "Usage: bose", shell_output("#{bin}/bose --help")
16+
end
17+
end

0 commit comments

Comments
 (0)