commit 656137a5667b4340496ae698f7d9f0c87d7b9eca Author: Copybara Date: Mon Jan 19 09:15:00 2026 -0800 Project import generated by Copybara. GitOrigin-RevId: 623fff66127076e8280e8e5b0fc6edffaf4cea8a diff --git a/README.md b/README.md new file mode 100644 index 0000000..9843600 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Homebrew Formulas\n\nFormulas in this directory are automatically synced to acmcarther/yesod-homebrew-tools. diff --git a/copy.bara.sky b/copy.bara.sky new file mode 100644 index 0000000..a43a704 --- /dev/null +++ b/copy.bara.sky @@ -0,0 +1,28 @@ +# tools/homebrew/copy.bara.sky + +# Source: Your Monorepo +sourceUrl = "https://forgejo.csbx.dev/acmcarther/yesod.git" +# Destination: The Public Homebrew Tap +destinationUrl = "https://forgejo.csbx.dev/acmcarther/yesod-homebrew-tools.git" + +core.workflow( + name = "default", + origin = git.origin( + url = sourceUrl, + ref = "main", + ), + destination = git.destination( + url = destinationUrl, + fetch = "main", + push = "main", + ), + # Only look at the tools/homebrew directory + origin_files = glob(["tools/homebrew/**"]), + + authoring = authoring.pass_thru("Copybara "), + + # Move tools/homebrew/ -> in the destination + transformations = [ + core.move("tools/homebrew", ""), + ], +) \ No newline at end of file diff --git a/tts-client.rb b/tts-client.rb new file mode 100644 index 0000000..9625772 --- /dev/null +++ b/tts-client.rb @@ -0,0 +1,18 @@ +class TtsClient < Formula + desc "Internal TTS Client for CSBX" + homepage "https://forgejo.csbx.dev/acmcarther/yesod" + version "0.0.1" + + # URL to your Forgejo Package Registry + url "https://forgejo.csbx.dev/api/packages/acmcarther/generic/tts-client/0.0.1/tts-client-darwin-arm64" + sha256 "13d2109abd08b49f553595e9ea9df541dd37e9a8a316baa32c9d6c563743813f" + + def install + # Rename to just 'tts-client' upon installation + bin.install "tts-client-darwin-arm64" => "tts-client" + end + + test do + system "#{bin}/tts-client", "--help" + end +end