| ... | @@ -76,6 +76,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D | ... | @@ -76,6 +76,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D |
| 76 | \\ var checkoutstep = std.build.RunStep.create(b, "checkout"); | 76 | \\ var checkoutstep = std.build.RunStep.create(b, "checkout"); |
| 77 | \\ checkoutstep.addArgs(&.{ "git", "-C", repopath, "checkout", "-q", commit }); | 77 | \\ checkoutstep.addArgs(&.{ "git", "-C", repopath, "checkout", "-q", commit }); |
| 78 | \\ result.step.dependOn(&checkoutstep.step); | 78 | \\ result.step.dependOn(&checkoutstep.step); |
| | 79 | \\ checkoutstep.step.dependOn(&clonestep.step); |
| 79 | // TODO rm the .git folder | 80 | // TODO rm the .git folder |
| 80 | // TODO mark folder as read-only | 81 | // TODO mark folder as read-only |
| 81 | \\ | 82 | \\ |