From 5049484ea0d9796d46948b7c71db6e2827c50463 Mon Sep 17 00:00:00 2001 From: Diego Marinho Date: Mon, 9 Mar 2026 22:58:13 +1100 Subject: [PATCH 1/2] add repomix to mac installer --- README.md | 2 ++ install_my_programs_mac | 1 + repomix_generate | 6 +++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c1d75e..f1abecb 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ make docs-browse | `rollback_installer_backups` | Restore latest installer backups | | `configure_git_delta` | Configure global git delta UX | | `install_git_hooks` | Install local hooks | +| `repomix_generate` | Generate `repomix-output.xml` repository context with Repomix | | `run_commands/` | Shell/editor templates and helper functions | | `docs/cheatsheets/*.md` | Command-by-command practical references | | `.github/workflows/*` | CI checks + release/docs publishing workflows | @@ -138,6 +139,7 @@ make rollback ### Bootstrap - installs terminal, editor, and productivity tooling +- includes Repomix in the macOS productivity CLI stack for repository context exports - applies baseline shell config templates with backups - supports dry runs for low-risk previews diff --git a/install_my_programs_mac b/install_my_programs_mac index 11d3025..f14154c 100755 --- a/install_my_programs_mac +++ b/install_my_programs_mac @@ -129,6 +129,7 @@ install_monitoring_stack() { install_productivity_cli_stack() { echo "Installing advanced productivity CLI tools..." install_optional_brew_formula lazygit + install_optional_brew_formula repomix install_optional_brew_formula glow install_optional_brew_formula hyperfine install_optional_brew_formula yq diff --git a/repomix_generate b/repomix_generate index a1ff97a..b14df6d 100755 --- a/repomix_generate +++ b/repomix_generate @@ -32,6 +32,10 @@ fi # Run Repomix echo "-> Generating repomix-output.xml" -npx repomix@latest --compress +if command -v repomix >/dev/null 2>&1; then + repomix --compress +else + npx repomix@latest --compress +fi echo "OK Repomix completed" From 0cea587a29cedb9b9fd4d965036d4f108e18cec7 Mon Sep 17 00:00:00 2001 From: Diego Marinho Date: Mon, 9 Mar 2026 23:03:29 +1100 Subject: [PATCH 2/2] remove repomix from mac installer --- README.md | 1 - install_my_programs_mac | 1 - repomix_generate | 6 +----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index f1abecb..3bf3361 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,6 @@ make rollback ### Bootstrap - installs terminal, editor, and productivity tooling -- includes Repomix in the macOS productivity CLI stack for repository context exports - applies baseline shell config templates with backups - supports dry runs for low-risk previews diff --git a/install_my_programs_mac b/install_my_programs_mac index f14154c..11d3025 100755 --- a/install_my_programs_mac +++ b/install_my_programs_mac @@ -129,7 +129,6 @@ install_monitoring_stack() { install_productivity_cli_stack() { echo "Installing advanced productivity CLI tools..." install_optional_brew_formula lazygit - install_optional_brew_formula repomix install_optional_brew_formula glow install_optional_brew_formula hyperfine install_optional_brew_formula yq diff --git a/repomix_generate b/repomix_generate index b14df6d..a1ff97a 100755 --- a/repomix_generate +++ b/repomix_generate @@ -32,10 +32,6 @@ fi # Run Repomix echo "-> Generating repomix-output.xml" -if command -v repomix >/dev/null 2>&1; then - repomix --compress -else - npx repomix@latest --compress -fi +npx repomix@latest --compress echo "OK Repomix completed"