authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-05-16 11:19:02 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-05-16 11:19:02 -07:00
log8b1216b2ddaf9fbab12d5b686f142f0c99d472d1
tree6d919ec49bbc0838421b061753052f5aa89c5e87
parent379f884f2341ccb3932ee04634f556f3d012c220

update build.zig for zig master


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

build.zig+6-2
......@@ -2,9 +2,13 @@ const std = @import("std");
22const deps = @import("./deps.zig");
33
44pub fn build(b: *std.build.Builder) void {
5 const t = b.addTest("main.zig");
5 const t = b.addTest(.{
6 .root_source_file = .{ .path = "main.zig" },
7 });
68 deps.addAllTo(t);
79
10 const run_t = b.addRunArtifact(t);
11
812 const t_step = b.step("run", "Run all the tests.");
9 t_step.dependOn(&t.step);
13 t_step.dependOn(&run_t.step);
1014}