mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00

This adds a new script `update-mirror.sh` which generates the proper blob format for R2 (or any blob storage) to mirror all of our dependencies. It doesn't automate updating build.zig.zon but on an ongoing basis this should be easy to do manually, and we can strive to automate it in the future. I omitted iTerm2 color themes because we auto-update that via CI and updating all of the machinery to send it to our mirror and so on is a pain. Additionally, this doesn't mirror transitive dependencies because Zig doesn't have a way to fetch those from a mirror instead (unless you pre-generate a full cache like packagers but that's not practical for day to day development). It's hugely beneficial just to get most of our dependencies mirrored.
17 lines
532 B
Zig
17 lines
532 B
Zig
.{
|
|
.name = "freetype",
|
|
.version = "2.13.2",
|
|
.paths = .{""},
|
|
.dependencies = .{
|
|
// freetype/freetype
|
|
.freetype = .{
|
|
.url = "https://deps.files.ghostty.org/freetype-1220b81f6ecfb3fd222f76cf9106fecfa6554ab07ec7fdc4124b9bb063ae2adf969d.tar.gz",
|
|
.hash = "1220b81f6ecfb3fd222f76cf9106fecfa6554ab07ec7fdc4124b9bb063ae2adf969d",
|
|
},
|
|
|
|
.apple_sdk = .{ .path = "../apple-sdk" },
|
|
.libpng = .{ .path = "../libpng" },
|
|
.zlib = .{ .path = "../zlib" },
|
|
},
|
|
}
|