From 1c9b3ae5aacbcdb7ae8851c293fb21b6693c39f7 Mon Sep 17 00:00:00 2001 From: Farid Zakaria Date: Sat, 4 Nov 2023 03:16:11 +0000 Subject: [PATCH] Added copy.bara.sky for pyelftools --- Makefile | 6 +++++- copy.bara.sky | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 copy.bara.sky diff --git a/Makefile b/Makefile index ec7c3b9..d8f37ea 100644 --- a/Makefile +++ b/Makefile @@ -32,4 +32,8 @@ test: ## Run pytest primarily. .PHONY: coverage coverage: - coverage run -m pytest \ No newline at end of file + coverage run -m pytest + +.PHONY: vendor +vendor: ## Update third-party dependencies. + copybara copy.bara.sky vendor_pyelftools --folder-dir ./sqlelf/_vendor \ No newline at end of file diff --git a/copy.bara.sky b/copy.bara.sky new file mode 100644 index 0000000..9834209 --- /dev/null +++ b/copy.bara.sky @@ -0,0 +1,12 @@ +core.workflow( + name = "vendor_pyelftools", + origin = git.github_origin( + url = "https://github.com/eliben/pyelftools.git", + ref = "master", + ), + destination = folder.destination(), + authoring = authoring.pass_thru("Farid Zakaria "), + origin_files = glob(["elftools/**"]), + transformations = [ + ], +)