add copybara script & config
GitOrigin-RevId: 3f8e5453ae75ef5724c00131a55e1315cef70841
This commit is contained in:
parent
ef84fa85a1
commit
6ad9167818
25
tools/copybara/copy.bara.sky
Normal file
25
tools/copybara/copy.bara.sky
Normal file
@ -0,0 +1,25 @@
|
||||
sourceUrl = "git@github.com:mcmillen/sneak.git"
|
||||
destinationUrl = "git@github.com:mcmillen/sneak-public.git"
|
||||
|
||||
core.workflow(
|
||||
name = "default",
|
||||
mode = "ITERATIVE",
|
||||
origin = git.origin(
|
||||
url = sourceUrl,
|
||||
ref = "master",
|
||||
),
|
||||
destination = git.destination(
|
||||
url = destinationUrl,
|
||||
fetch = "master",
|
||||
push = "master",
|
||||
),
|
||||
# Change path to the folder you want to publish publicly
|
||||
origin_files = glob(["tools/**", "Shared/**", "Jumpy.Shared/**"]),
|
||||
|
||||
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
||||
|
||||
# Change the path here to the folder you want to publish publicly
|
||||
#transformations = [
|
||||
# core.move("", ""),
|
||||
#],
|
||||
)
|
6
tools/copybara/copybara.sh
Normal file
6
tools/copybara/copybara.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#/bin/sh
|
||||
|
||||
SCRIPT=$(readlink -f "$0")
|
||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||
|
||||
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky
|
Loading…
Reference in New Issue
Block a user