Something went wrong. Try again.
temp dir to hold datetime
Something went wrong. Try again.
jetzig-datetime build.zig
556 B · 21 lines
Zig
at main
12345678910111213141516171819202122const std = @import("std");
pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{}); // const optimize = b.standardOptimizeOption(.{});
const datetime = b.addModule("jetzig_datetime", .{ .root_source_file = b.path("src/root.zig"), .target = target, });
const test_step = b.step("test", "Run tests"); test_step.dependOn( &b.addRunArtifact( b.addTest(.{ .name = "datetime", .root_module = datetime, }), ).step, );}