File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ require "language/node"
2+
3+ class Lazycommit < Formula
4+ desc "Writes your git commit messages for you with AI using Groq"
5+ homepage "https://github.com/KartikLabhshetwar/lazycommit"
6+ url "https://registry.npmjs.org/lazycommitt/-/lazycommitt-1.0.8.tgz"
7+ sha256 "a1b0e0e82a0f1ec557329ea7382759587acf6d0c0c901f8905f1b40fdeb1f311"
8+ license "Apache-2.0"
9+
10+ depends_on "node"
11+
12+ def install
13+ system "npm" , "install" , *Language ::Node . std_npm_install_args ( libexec )
14+ bin . install_symlink Dir [ "#{ libexec } /bin/*" ]
15+ end
16+
17+ test do
18+ assert_match version . to_s , shell_output ( "#{ bin } /lazycommit --version" )
19+ end
20+ end
21+
22+
Original file line number Diff line number Diff line change 2222 npm install -g lazycommitt
2323 ```
2424
25+ ### Install via Homebrew (macOS)
26+
27+ ``` sh
28+ brew tap kartiklabhshetwar/lazycommit
29+ brew install lazycommit
30+ ```
31+
32+ Upgrade:
33+
34+ ``` sh
35+ brew upgrade lazycommit
36+ ```
37+
25382 . Retrieve your API key from [ Groq Console] ( https://console.groq.com/keys )
2639
2740 > Note: If you haven't already, you'll have to create an account and get your API key.
You can’t perform that action at this time.
0 commit comments