0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

introduce the 'zig fetch' command + symlink support

zig fetch [options] <url>
zig fetch [options] <path>

Fetches a package which is found at <url> or <path> into the global
cache directory, printing the package hash to stdout.

Closes #16972
Related to #14280

Additionally, this commit:

* Adds uncompressed .tar support to package fetching
* Introduces symlink support to package fetching
This commit is contained in:
Andrew Kelley 2023-10-01 23:05:01 -07:00
commit ef9966c985
4 changed files with 302 additions and 107 deletions