Skip to content

Commit

Permalink
termbg 0.6.1 (new formula)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 16, 2024
1 parent 2c7fa3f commit b83be6d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2987,6 +2987,7 @@ tenere
tengo
tenv
tere
termbg
terminator
termscp
termshark
Expand Down
18 changes: 18 additions & 0 deletions Formula/t/termbg.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class Termbg < Formula
desc "A Rust library for terminal background color detection"
homepage "https://github.com/dalance/termbg"
url "https://github.com/dalance/termbg/archive/refs/tags/v0.6.1.tar.gz"
sha256 "f31a6b0af7b2833d31481197f80e2cef9dfe7196ca640367d8f63ca6e03a3d0d"
license any_of: ["Apache-2.0", "MIT"]
head "https://github.com/dalance/termbg.git", branch: "master"

depends_on "rust" => :build

def install
system "cargo", "install", *std_cargo_args
end

test do
system bin/"termbg", "--debug"
end
end

0 comments on commit b83be6d

Please sign in to comment.