| ... | @@ -91,7 +91,7 @@ pub fn collect_pkgs(mod: u.Module, list: *std.ArrayList(u.Module)) anyerror!void | ... | @@ -91,7 +91,7 @@ pub fn collect_pkgs(mod: u.Module, list: *std.ArrayList(u.Module)) anyerror!void |
| 91 | } | 91 | } |
| 92 | } | 92 | } |
| 93 | | 93 | |
| 94 | fn get_moddir(basedir: []const u8, d: u.Dep, parent_name: []const u8, options: *CollectOptions) ![]const u8 { | 94 | pub fn get_moddir(basedir: []const u8, d: u.Dep, parent_name: []const u8, options: *CollectOptions) ![]const u8 { |
| 95 | const p = try std.fs.path.join(gpa, &.{ basedir, try d.clean_path() }); | 95 | const p = try std.fs.path.join(gpa, &.{ basedir, try d.clean_path() }); |
| 96 | const pv = try std.fs.path.join(gpa, &.{ basedir, try d.clean_path_v() }); | 96 | const pv = try std.fs.path.join(gpa, &.{ basedir, try d.clean_path_v() }); |
| 97 | | 97 | |
| ... | @@ -273,7 +273,7 @@ pub fn get_module_from_dep(d: *u.Dep, dir: []const u8, parent_name: []const u8, | ... | @@ -273,7 +273,7 @@ pub fn get_module_from_dep(d: *u.Dep, dir: []const u8, parent_name: []const u8, |
| 273 | } | 273 | } |
| 274 | } | 274 | } |
| 275 | | 275 | |
| 276 | fn add_files_package(pkg_name: []const u8, dirs: []const []const u8, parent_name: []const u8) !u.Module { | 276 | pub fn add_files_package(pkg_name: []const u8, dirs: []const []const u8, parent_name: []const u8) !u.Module { |
| 277 | const destination = ".zigmod/deps/files"; | 277 | const destination = ".zigmod/deps/files"; |
| 278 | const fname = try std.mem.join(gpa, "", &.{ pkg_name, ".zig" }); | 278 | const fname = try std.mem.join(gpa, "", &.{ pkg_name, ".zig" }); |
| 279 | | 279 | |