Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repomix 0.2.6 #202679

Merged
merged 2 commits into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2642,6 +2642,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
Loading