| author | |
| committer | |
| log | ba84a39193b88ab27cf6bf948244bfedcebfde4f |
| tree | 6e36174f9401f3663bdcf258e4deabca19f1ab49 |
| parent | d8787bb8a30e46d4f77453d747a4410792f99315 |
2 files changed, 2 insertions(+), 0 deletions(-)
deps.zig+1| ... | ... | @@ -37,6 +37,7 @@ pub const GitExactStep = struct { |
| 37 | 37 | var checkoutstep = std.build.RunStep.create(b, "checkout"); |
| 38 | 38 | checkoutstep.addArgs(&.{ "git", "-C", repopath, "checkout", "-q", commit }); |
| 39 | 39 | result.step.dependOn(&checkoutstep.step); |
| 40 | checkoutstep.step.dependOn(&clonestep.step); | |
| 40 | 41 | |
| 41 | 42 | return result; |
| 42 | 43 | } |
src/cmd/generate.zig+1| ... | ... | @@ -76,6 +76,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D |
| 76 | 76 | \\ var checkoutstep = std.build.RunStep.create(b, "checkout"); |
| 77 | 77 | \\ checkoutstep.addArgs(&.{ "git", "-C", repopath, "checkout", "-q", commit }); |
| 78 | 78 | \\ result.step.dependOn(&checkoutstep.step); |
| 79 | \\ checkoutstep.step.dependOn(&clonestep.step); | |
| 79 | 80 | // TODO rm the .git folder |
| 80 | 81 | // TODO mark folder as read-only |
| 81 | 82 | \\ |