Some checks failed
CI / build (push) Failing after 12s
GitOrigin-RevId: 6370f6ea785709295b6abcf9c60717cacf3ac432
28 lines
No EOL
759 B
Text
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", ""),
|
|
],
|
|
) |