#Write files to .zig-cache before executing tests and set the path as an option

1 messages · Page 1 of 1 (latest)

forest abyss
#

WHYYYY??!?!?!?!?!?!!!
do not mess with cache.

I assume you are trying to depend on the library, just use the build.zig.zon

#

that is to say, the inbuilt package manager

#

build.zig.zon is where you list your dependencies, and other info.
you can easily update it from the command line with zig fetch --save [url]

#

if you are depending on a git repository add git+ infront of the url

#

otherwise it expects a tarball download

rare maple
#

if its in zig-out it was in .zig-cache at some point

terse sentinel
#

I wanted to put data files for tests somewhere temporary, doesn't have to be the cache

#

I just don't want this data being checked into the repo

rough agate
#

put in data/ and add data/ to .gitignore