authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-31 18:58:00 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-07-31 18:58:00 -07:00
loga1aaef288bdd623356fb233ad518c233f49ce367
treefe994a6b1579712ebf79e7739942f3481e46ed5b
parent1d667ab10000a662680d6a509bfad95ffec77b70

common- pub more methods


1 files changed, 2 insertions(+), 2 deletions(-)

src/common.zig+2-2
......@@ -91,7 +91,7 @@ pub fn collect_pkgs(mod: u.Module, list: *std.ArrayList(u.Module)) anyerror!void
9191 }
9292}
9393
94fn get_moddir(basedir: []const u8, d: u.Dep, parent_name: []const u8, options: *CollectOptions) ![]const u8 {
94pub fn get_moddir(basedir: []const u8, d: u.Dep, parent_name: []const u8, options: *CollectOptions) ![]const u8 {
9595 const p = try std.fs.path.join(gpa, &.{ basedir, try d.clean_path() });
9696 const pv = try std.fs.path.join(gpa, &.{ basedir, try d.clean_path_v() });
9797
......@@ -273,7 +273,7 @@ pub fn get_module_from_dep(d: *u.Dep, dir: []const u8, parent_name: []const u8,
273273 }
274274}
275275
276fn add_files_package(pkg_name: []const u8, dirs: []const []const u8, parent_name: []const u8) !u.Module {
276pub fn add_files_package(pkg_name: []const u8, dirs: []const []const u8, parent_name: []const u8) !u.Module {
277277 const destination = ".zigmod/deps/files";
278278 const fname = try std.mem.join(gpa, "", &.{ pkg_name, ".zig" });
279279