From 377b6301bb09df5267c3a794aa3b5532407cab27 Mon Sep 17 00:00:00 2001 From: Copybara Date: Tue, 20 Jan 2026 01:40:32 +0000 Subject: [PATCH] Project import generated by Copybara. GitOrigin-RevId: 7e4bd5fedad293356745084be4e06066803a6133 --- BUILD.bazel | 26 -------------------------- README.md | 3 --- tts-client.rb | 7 +++---- tts-client.rb.tpl | 18 ------------------ 4 files changed, 3 insertions(+), 51 deletions(-) delete mode 100644 BUILD.bazel delete mode 100644 README.md delete mode 100644 tts-client.rb.tpl diff --git a/BUILD.bazel b/BUILD.bazel deleted file mode 100644 index a002c4a..0000000 --- a/BUILD.bazel +++ /dev/null @@ -1,26 +0,0 @@ -genrule( - name = "generate_tts_client_rb", - srcs = [ - "tts-client.rb.tpl", - "//experimental/users/acmcarther/llm/tts_grpc:tts_client_go", - ], - outs = ["tts-client.rb"], - cmd = """ - # Identify the binary. It's the file that doesn't end in .tpl - for f in $(locations //experimental/users/acmcarther/llm/tts_grpc:tts_client_go); do - BINARY=$$f - break - done - - # Calculate SHA256 - if command -v sha256sum >/dev/null 2>&1; then - HASH=$$(sha256sum $$BINARY | cut -d' ' -f1) - else - HASH=$$(shasum -a 256 $$BINARY | cut -d' ' -f1) - fi - - # Substitute into template - sed "s/{SHA256}/$$HASH/g" $(location tts-client.rb.tpl) > $@ - """, - visibility = ["//visibility:public"], -) diff --git a/README.md b/README.md deleted file mode 100644 index 538ac1b..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Homebrew Formulas - -This directory contains homebrew formulas materialized from the main monorepo. \ No newline at end of file diff --git a/tts-client.rb b/tts-client.rb index e9a97fc..fd808d5 100644 --- a/tts-client.rb +++ b/tts-client.rb @@ -1,11 +1,10 @@ class TtsClient < Formula desc "Internal TTS Client for CSBX" homepage "https://forgejo.csbx.dev/acmcarther/yesod" - version "0.0.2-b5422b0" + version "0.0.2-fe435d1" - # URL to your Forgejo Package Registry - url "https://forgejo.csbx.dev/api/packages/acmcarther/generic/tts-client/0.0.2-b5422b0/tts-client-darwin-arm64" - sha256 "993f75474bb44819c95561611e2fd085fcc193386881bf102c255eb0af874a4b" + url "https://forgejo.csbx.dev/api/packages/acmcarther/generic/tts-client/0.0.2-fe435d1/tts-client-darwin-arm64" + sha256 "4efbf58918f68a6f2a291c75d28387b36bcf58afa09b5fcf363332cad42df009" def install # Rename to just 'tts-client' upon installation diff --git a/tts-client.rb.tpl b/tts-client.rb.tpl deleted file mode 100644 index 2a14092..0000000 --- a/tts-client.rb.tpl +++ /dev/null @@ -1,18 +0,0 @@ -class TtsClient < Formula - desc "Internal TTS Client for CSBX" - homepage "https://forgejo.csbx.dev/acmcarther/yesod" - version "{VERSION}" - - # URL to your Forgejo Package Registry - url "{URL}" - sha256 "{SHA256}" - - 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 \ No newline at end of file