diff --git a/Formula/r/repopack.rb b/Formula/r/repopack.rb deleted file mode 100644 index 47e2634de9f8..000000000000 --- a/Formula/r/repopack.rb +++ /dev/null @@ -1,43 +0,0 @@ -class Repopack < Formula - desc "Pack repository contents into a single AI-friendly file" - homepage "https://github.com/yamadashy/repopack" - url "https://registry.npmjs.org/repopack/-/repopack-0.1.43.tgz" - sha256 "514942244a9e5dac52730994979d91006bb536386f7f7a412d6c16f6a44fbf2e" - license "MIT" - - bottle do - sha256 cellar: :any_skip_relocation, all: "8b9b0a7b32ad546f01dbd57ab8531fc5e97bf46476f8eca612aa99183d5b081e" - end - - depends_on "node" - - def install - system "npm", "install", *std_npm_args - bin.install_symlink Dir["#{libexec}/bin/*"] - end - - test do - assert_match version.to_s, shell_output("#{bin}/repopack --version") - - (testpath/"test_repo").mkdir - (testpath/"test_repo/test_file.txt").write("Test content") - - output = shell_output("#{bin}/repopack #{testpath}/test_repo") - assert_match "Packing completed successfully!", output - assert_match <<~EOS, (testpath/"repopack-output.txt").read - ================================================================ - Repository Structure - ================================================================ - test_file.txt - - ================================================================ - Repository Files - ================================================================ - - ================ - File: test_file.txt - ================ - Test content - EOS - end -end diff --git a/formula_renames.json b/formula_renames.json index d9eebc004e93..4c790890611a 100644 --- a/formula_renames.json +++ b/formula_renames.json @@ -139,6 +139,7 @@ "racket": "minimal-racket", "rebar@3": "rebar3", "recipes": "gnome-recipes", + "repopack": "repomix", "resin-cli": "balena-cli", "richmd": "rich-cli", "root6": "root",