Skip to content

Commit f21eca8

Browse files
feat: add Formula for happy-coder cli
1 parent c6473c2 commit f21eca8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Formula/happy-coder.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
class HappyCoder < Formula
2+
desc "Happy CLI tool for productive coding"
3+
homepage "https://github.com/slopus/happy-cli"
4+
url "https://registry.npmjs.org/happy-coder/-/happy-coder-0.7.2.tgz"
5+
sha256 "070da15d4375ce49d39370ab8924568c8a62894e27013078035754a8dc575986"
6+
license "MIT"
7+
8+
depends_on "node"
9+
10+
def install
11+
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
12+
bin.install_symlink Dir["#{libexec}/bin/*"]
13+
end
14+
15+
test do
16+
system "#{bin}/happy", "--version"
17+
end
18+
end

0 commit comments

Comments
 (0)