Files
rope/build.zig
T
yves-biener ae666cb436
Zig Project Action / Lint, Spell-check and test zig project (push) Has been cancelled
initial commit
based on sources of https://github.com/noahbald/noe which are MIT-licensed
2026-06-06 20:48:35 +02:00

22 lines
548 B
Zig

const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const mod = b.addModule("rope", .{
.root_source_file = b.path("src/root.zig"),
.target = target,
.optimize = optimize,
});
const mod_tests = b.addTest(.{
.root_module = mod,
});
const run_mod_tests = b.addRunArtifact(mod_tests);
const test_step = b.step("test", "Run tests");
test_step.dependOn(&run_mod_tests.step);
}