Skip to content

Commit

Permalink
Merge pull request #202679 from Homebrew/bump-repomix-0.2.6
Browse files Browse the repository at this point in the history
repomix 0.2.6
  • Loading branch information
BrewTestBot authored Dec 29, 2024
2 parents 728e99a + 89189af commit 547ac65
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2643,6 +2643,7 @@ remind
renovate
replxx
repo
repomix
reposurgeon
repren
reproc
Expand Down
24 changes: 21 additions & 3 deletions Formula/r/repomix.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
class Repomix < Formula
desc "Pack repository contents into a single AI-friendly file"
homepage "https://github.com/yamadashy/repomix"
url "https://registry.npmjs.org/repomix/-/repomix-0.2.1.tgz"
sha256 "9fd247249747d94215925ad7a58fc29df56ba3adb018e0c5213ba5e38819dde1"
url "https://registry.npmjs.org/repomix/-/repomix-0.2.6.tgz"
sha256 "18cb7b4453a5935d02565d0443978407cb972e442b06315b880d10c85755a612"
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, all: "4e98557fe499a1152cf9a9993c3043cd5c90812b8a7741a25d8927bb4cd7b206"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "70ce7324dbee72c3b5b90eeb7068dcac4701966615f474f392e09206029cebd2"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "70ce7324dbee72c3b5b90eeb7068dcac4701966615f474f392e09206029cebd2"
sha256 cellar: :any_skip_relocation, arm64_ventura: "70ce7324dbee72c3b5b90eeb7068dcac4701966615f474f392e09206029cebd2"
sha256 cellar: :any_skip_relocation, sonoma: "639b6c1ace70ad9ab9f127d87031513dd4119619c39b1db49aab8083e12da585"
sha256 cellar: :any_skip_relocation, ventura: "639b6c1ace70ad9ab9f127d87031513dd4119619c39b1db49aab8083e12da585"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4e7431c1fd7649e29aa06df34a714a6a6b8b7dd6457cdb102fcde088ef0e02c2"
end

depends_on "node"

on_linux do
depends_on "xsel"
end

def install
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]

clipboardy_fallbacks_dir = libexec/"lib/node_modules/#{name}/node_modules/clipboardy/fallbacks"
rm_r(clipboardy_fallbacks_dir) # remove pre-built binaries
if OS.linux?
linux_dir = clipboardy_fallbacks_dir/"linux"
linux_dir.mkpath
# Replace the vendored pre-built xsel with one we build ourselves
ln_sf (Formula["xsel"].opt_bin/"xsel").relative_path_from(linux_dir), linux_dir
end
end

test do
Expand Down

0 comments on commit 547ac65

Please sign in to comment.