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