16 lines
383 B
Zig
16 lines
383 B
Zig
const std = @import("std");
|
|
const Builder = std.build.Builder;
|
|
const Pkg = std.build.Pkg;
|
|
|
|
pub fn build(b: *Builder) void {
|
|
const mode = b.standardReleaseOptions();
|
|
|
|
var tests = b.addTest("src/main.zig");
|
|
tests.setBuildMode(mode);
|
|
|
|
const test_step = b.step("test", "Run library tests");
|
|
test_step.dependOn(&tests.step);
|
|
|
|
b.default_step.dependOn(test_step);
|
|
}
|