Project import generated by Copybara.
GitOrigin-RevId: 623fff66127076e8280e8e5b0fc6edffaf4cea8a
This commit is contained in:
commit
656137a566
3 changed files with 47 additions and 0 deletions
1
README.md
Normal file
1
README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Homebrew Formulas\n\nFormulas in this directory are automatically synced to acmcarther/yesod-homebrew-tools.
|
||||||
28
copy.bara.sky
Normal file
28
copy.bara.sky
Normal file
|
|
@ -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 <copybara@csbx.dev>"),
|
||||||
|
|
||||||
|
# Move tools/homebrew/<file> -> <file> in the destination
|
||||||
|
transformations = [
|
||||||
|
core.move("tools/homebrew", ""),
|
||||||
|
],
|
||||||
|
)
|
||||||
18
tts-client.rb
Normal file
18
tts-client.rb
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Reference in a new issue