We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189851e commit 73e6f96Copy full SHA for 73e6f96
Formula/l/lolcrab.rb
@@ -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
19
+end
0 commit comments