Nice introduction to zon, thanks for sharing. I was wondering if there's already the possibilty to use a local path instead of a git url for a package? For like when you want to work on your own library in parallel to a project which is using it as a package via zon.
Nice introduction to zon, thanks for sharing. I was wondering if there's already the possibilty to use a local path instead of a git url for a package? For like when you want to work on your own library in parallel to a project which is using it as a package via zon.
Here's one way:
Ah nice, didn't thought about spinning up a local http server for this, thx :)
Most people run
zig build
a first time to get the Zig-compatible sha256 hash of the tar.gz file (you get the actual hash as an error)If you wanna do it yourself, here's quick Python script I made: gist.github.com/cryptocode/7bf963c...
404 unfortunatelly, might be a private gist 😇
Can you try again? Others seems to be able to access it.
gist.github.com/cryptocode/7bf963c...
Thanks for checking again, works. Maybe I wasn't logged in or sth.