| ... | ... | @@ -23,7 +23,7 @@ pub fn execute(args: [][]u8) !void { |
| 23 | 23 | try w.print("const build = std.build;\n", .{}); |
| 24 | 24 | try w.print("\n", .{}); |
| 25 | 25 | try w.print("const home = \"{}\";\n", .{home}); |
| 26 | | try w.print("const cache = home ++ \"/.cache/zigmod/deps\";\n", .{}); |
| 26 | try w.print("const cache = home ++ \"/.cache/zigmod\";\n", .{}); |
| 27 | 27 | try w.print("\n", .{}); |
| 28 | 28 | try w.print("{}\n", .{ |
| 29 | 29 | \\pub fn addAllTo(exe: *build.LibExeObjStep) void { |
| ... | ... | @@ -63,7 +63,7 @@ fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module { |
| 63 | 63 | const m = try u.ModFile.init(gpa, mpath); |
| 64 | 64 | const moduledeps = &std.ArrayList(u.Module).init(gpa); |
| 65 | 65 | for (m.deps) |d| { |
| 66 | | const p = try u.concat(&[_][]const u8{dir, "/", try d.clean_path()}); |
| 66 | const p = try u.concat(&[_][]const u8{dir, "/deps/", try d.clean_path()}); |
| 67 | 67 | const pv = try u.concat(&[_][]const u8{dir, "/v/", try d.clean_path(), "/", d.version}); |
| 68 | 68 | u.print("fetch: {}: {}: {}", .{m.name, @tagName(d.type), d.path}); |
| 69 | 69 | switch (d.type) { |