yesod-homebrew-tools/copy.bara.sky

28 lines
781 B
Text
Raw Normal View History

# 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", ""),
],
)