Skip to content

Commit cdf6f9d

Browse files
termframe 0.8.1 (new formula)
1 parent 80b1d3a commit cdf6f9d

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Formula/t/termframe.rb

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
class Termframe < Formula
2+
desc "Terminal output SVG screenshot tool"
3+
homepage "https://github.com/pamburus/termframe"
4+
url "https://github.com/pamburus/termframe/archive/refs/tags/v0.8.1.tar.gz"
5+
sha256 "a355a4919974fa80c088adde8ecf56464bfdc8392cdf9f7ad9121f79f3350136"
6+
license "MIT"
7+
head "https://github.com/pamburus/termframe.git", branch: "main"
8+
9+
depends_on "rust" => :build
10+
11+
def install
12+
system "cargo", "install", *std_cargo_args
13+
end
14+
15+
test do
16+
system bin/"termframe", "-o", "hello.svg", "--", "echo", "Hello, World"
17+
assert_path_exists testpath/"hello.svg"
18+
end
19+
end

0 commit comments

Comments
 (0)