From 87c16afe1d2a68dccd13d06193bdd2af8021eb60 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 18 Jun 2026 13:13:43 +0000 Subject: [PATCH] refactor: move amy.rb into cli/packaging/homebrew (was root packaging/) The Homebrew formula is the cli module's product (amy), and the CLI already owns its packaging artifacts under cli/packaging/ (cli/packaging/macos/ amy.entitlements). The root packaging/ dir was new in this branch and held nothing else, so co-locate the formula with the module that owns it and drop the stray root dir. Updates the two BUILDING.md references. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_015sso31DfSF9B6EFCVkEqWD --- BUILDING.md | 4 ++-- {packaging => cli/packaging}/homebrew/amy.rb | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename {packaging => cli/packaging}/homebrew/amy.rb (100%) diff --git a/BUILDING.md b/BUILDING.md index 1fcd052bca..3363d10b46 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -405,7 +405,7 @@ environment, so a from-source Gradle build can't resolve its Maven dependencies there. Instead the formula downloads the pre-built **no-JRE jar bundle** `amy--jvm.tar.gz` (published by `create-release.yml`) and `depends_on "openjdk"`. The reference formula lives at -[`packaging/homebrew/amy.rb`](packaging/homebrew/amy.rb). +[`cli/packaging/homebrew/amy.rb`](cli/packaging/homebrew/amy.rb). To submit: @@ -415,7 +415,7 @@ curl -fsSL -o amy-jvm.tar.gz \ https://github.com/vitorpamplona/amethyst/releases/download/v1.12.1/amy-1.12.1-jvm.tar.gz shasum -a 256 amy-jvm.tar.gz -# 2. Fill the url + sha256 into packaging/homebrew/amy.rb, then open the PR +# 2. Fill the url + sha256 into cli/packaging/homebrew/amy.rb, then open the PR brew create --set-name amy --tap homebrew/core \ https://github.com/vitorpamplona/amethyst/releases/download/v1.12.1/amy-1.12.1-jvm.tar.gz # (paste the reference formula body, run `brew audit --new amy`, diff --git a/packaging/homebrew/amy.rb b/cli/packaging/homebrew/amy.rb similarity index 100% rename from packaging/homebrew/amy.rb rename to cli/packaging/homebrew/amy.rb