zigmod
zigmod copied to clipboard
add Fossil dep type
Wow, thanks for looking into this! The tests failing seem unrelated to this change so I'll get those fixed up and then get this merged in. 😄
zigwin32 and hzzp are updated, still waiting on iguanatls
Rebased this branch to master and looks all good to go.
Do we have a fossil repo hosted anywhere with some Zig code we can use to verify the functionality doesn't regress going forward?
Do we have a fossil repo hosted anywhere with some Zig code we can use to verify the functionality doesn't regress going forward?
this is mine: http://chiselapp.com/user/javier/repository/zigqlite still haven't mastered how to declare dependencies on C libraries, but I have other (unpublished) project that depends on this one.
Thanks! I'll give the repo a test and get this merged. Thanks again for pull this together :)
For C libraries you can see an example here https://github.com/nektro/zig-sqlite3/blob/master/zig.mod as well as the system_lib
dep type
One thing i'm noticing is that in the lockfile its always using the "commit" (in git speak). similarly, it makes me wonder if the fossil type should have equivalents for specifying "branch" or "tag" if those exist
isn't the lockfile's purpose to "lock" the current version? the dependencies can use any way to specify a version (tag, branch, commit, or none), but the lockfile should use the exact commit... unless i'm missing something.