yesod-mirror/tools/copybara/homebrew/copy.bara.sky
Copybara 8157b39ea4
Some checks failed
CI / build (push) Failing after 12s
Project import generated by Copybara.
GitOrigin-RevId: 6370f6ea785709295b6abcf9c60717cacf3ac432
2026-01-20 21:26:21 +00:00

28 lines
No EOL
759 B
Text

# 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 homebrew directory
origin_files = glob(["homebrew/*.rb"]),
authoring = authoring.pass_thru("Copybara <copybara@csbx.dev>"),
# Move homebrew/<file> -> <file> in the destination
transformations = [
core.move("homebrew", ""),
],
)