| ... | @@ -29,6 +29,8 @@ pub const CollectOptions = struct { | ... | @@ -29,6 +29,8 @@ pub const CollectOptions = struct { |
| 29 | }; | 29 | }; |
| 30 | | 30 | |
| 31 | pub fn collect_deps_deep(cachepath: string, mdir: std.fs.Dir, options: *CollectOptions) !zigmod.Module { | 31 | pub fn collect_deps_deep(cachepath: string, mdir: std.fs.Dir, options: *CollectOptions) !zigmod.Module { |
| | 32 | try std.fs.cwd().makePath(cachepath); |
| | 33 | |
| 32 | const m = try zigmod.ModFile.from_dir(options.alloc, mdir); | 34 | const m = try zigmod.ModFile.from_dir(options.alloc, mdir); |
| 33 | try options.init(); | 35 | try options.init(); |
| 34 | var moduledeps = std.ArrayList(zigmod.Module).init(options.alloc); | 36 | var moduledeps = std.ArrayList(zigmod.Module).init(options.alloc); |