Skip to content

Commit 73e6f96

Browse files
lolcrab 0.4.1 (new formula)
1 parent 189851e commit 73e6f96

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Formula/l/lolcrab.rb

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
class Lolcrab < Formula
2+
desc "Make your console colorful, with OpenSimplex noise"
3+
homepage "https://github.com/mazznoer/lolcrab"
4+
url "https://github.com/mazznoer/lolcrab/archive/refs/tags/v0.4.1.tar.gz"
5+
sha256 "b318f430e95a64dac1d92bb2a1aee2c2c0010ba74dbc5b26dc3d3dd82673dd37"
6+
license "MIT"
7+
head "https://github.com/mazznoer/lolcrab.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+
assert_match "\e[38;", pipe_output(bin/"lolcrab", "lorem ipsum dolor sit amet")
17+
assert_match "\e[48;", pipe_output("#{bin}/lolcrab -i", "lorem ipsum dolor sit amet")
18+
end
19+
end

0 commit comments

Comments
 (0)