Skip to content

Commit 3d79ce6

Browse files
committed
Add llmdog formula
1 parent f7c0438 commit 3d79ce6

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

llmdog.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class Llmdog < Formula
2+
desc "Prepare files for LLM consumption"
3+
homepage "https://github.com/doganarif/llmdog"
4+
url "https://github.com/doganarif/llmdog/archive/refs/tags/v1.0.0.tar.gz"
5+
sha256 "532bb4a1db5143c9c4fa61728184a0af0c9f47b56387453239b0b9b820a41079"
6+
license "MIT"
7+
8+
depends_on "go" => :build
9+
10+
def install
11+
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/llmdog"
12+
end
13+
14+
test do
15+
assert_match "llmdog version", shell_output("#{bin}/llmdog --version")
16+
end
17+
end

0 commit comments

Comments
 (0)