~ntgg/zosh

0ce3c9f86db5209b09b996a8923397d9ec5a3b9c — Noah Graff 4 years ago 5742e95
added test step
1 files changed, 6 insertions(+), 0 deletions(-)

M build.zig
M build.zig => build.zig +6 -0
@@ 11,4 11,10 @@ pub fn build(b: *Builder) void {

    const run_step = b.step("run", "Run the app");
    run_step.dependOn(&run_cmd.step);

    const text_buffer_tests = b.addTest("src/text_buffer.zig");
    text_buffer_tests.setBuildMode(mode);

    const test_step = b.step("test", "Test the app");
    test_step.dependOn(&text_buffer_tests.step);
}