Something went wrong. Try again.
Dev fork of jetzig jetzig.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445const std = @import("std");const util = @import("../util.zig");
/// Command line options for the `generate` command.pub const Options = struct { @"fail-fast": bool = false,
pub const shorthands = .{ .f = "fail-fast", };
pub const meta = .{ .usage_summary = "[--fail-fast]", .full_text = \\Run app tests. \\ \\Execute all tests found in `src/main.zig` \\ , .option_docs = .{ .path = "Set the output path relative to the current directory (default: current directory)", }, };};
/// Run the job generator. Create a job in `src/app/jobs/`pub fn run( allocator: std.mem.Allocator, options: Options, writer: anytype, T: type, main_options: T,) !void { _ = options; _ = writer; _ = main_options; try util.execCommand(allocator, &.{ "zig", "build", "-e", "testing", "jetzig:test", });}