summaryrefslogtreecommitdiff
path: root/pkg/utfcpp
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-02-14 09:38:27 -0800
committerMitchell Hashimoto <m@mitchellh.com>2025-02-14 10:06:15 -0800
commit8231ebb7705e4e7f21aa42e498f8487a5e4ad6f0 (patch)
treeda2d7b938d1162207883ca5163d44d7b6021104d /pkg/utfcpp
parent95e6a27393334861b4217c7758df7d9d85cc2621 (diff)
build: mirror most of our direct dependencies
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.
Diffstat (limited to 'pkg/utfcpp')
-rw-r--r--pkg/utfcpp/build.zig.zon3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/utfcpp/build.zig.zon b/pkg/utfcpp/build.zig.zon
index e56d77f19..795a02749 100644
--- a/pkg/utfcpp/build.zig.zon
+++ b/pkg/utfcpp/build.zig.zon
@@ -3,8 +3,9 @@
.version = "4.0.5",
.paths = .{""},
.dependencies = .{
+ // nemtrif/utfcpp
.utfcpp = .{
- .url = "https://github.com/nemtrif/utfcpp/archive/refs/tags/v4.0.5.tar.gz",
+ .url = "https://deps.files.ghostty.org/utfcpp-1220d4d18426ca72fc2b7e56ce47273149815501d0d2395c2a98c726b31ba931e641.tar.gz",
.hash = "1220d4d18426ca72fc2b7e56ce47273149815501d0d2395c2a98c726b31ba931e641",
},