rotint/deps/GapBuffer/build.zig
torque 7692cb4bc7
init
I will never get tired of vendoring dependencies. ha ha. It is possible
I am insane. I had to do a lot of pruning to get these not to be
ridiculous (especially the unicode data, which had nearly 1 million
lines of... stuff).
2024-08-09 19:26:32 -07:00

21 lines
620 B
Zig

const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
_ = b.addModule("gap_buffer", .{
.target = target,
.optimize = optimize,
.root_source_file = b.path("src/root.zig"),
});
const tests = b.addTest(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("src/root.zig"),
});
const run_tests = b.addRunArtifact(tests);
const tests_step = b.step("test", "run gap buffer tests");
tests_step.dependOn(&run_tests.step);
}