The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts: Add copybara config for updating stb.

+27
+27
scripts/copy.bara.sky
··· 1 + # Copyright 2022, Collabora, Ltd. 2 + # 3 + # SPDX-License-Identifier: BSL-1.0 4 + """Configuration for "copybara" <https://github.com/google/copybara> to update vendored source""" 5 + 6 + gitlab_url = "git@gitlab.freedesktop.org:ryan.pavlik/monado.git" 7 + 8 + # update-stb: Update STB libraries 9 + core.workflow( 10 + name = "update-stb", 11 + origin = git.github_origin( 12 + url = "https://github.com/nothings/stb.git", 13 + ref = "master", 14 + ), 15 + destination = git.destination( 16 + url = gitlab_url, 17 + fetch = "main", 18 + push = "update-stb", 19 + ), 20 + destination_files = glob(["src/external/stb/*.h"]), 21 + origin_files = glob(["stb_image_write.h"]), 22 + authoring = authoring.pass_thru("Ryan Pavlik <ryan.pavlik@collabora.com>"), 23 + transformations = [ 24 + metadata.replace_message("external/stb: Update stb libraries from upstream"), 25 + core.move("", "src/external/stb/"), 26 + ], 27 + )