diff options
| author | 2024-03-26 21:54:51 -0400 | |
|---|---|---|
| committer | 2024-03-26 21:54:51 -0400 | |
| commit | 6693aa392bba45d55096096d118ae0a58f85bfbe (patch) | |
| tree | f71b77f77d74da62db8d5c3ad72bcfd1336e4516 | |
| parent | GraphemeData and Normalize non-pub fns (diff) | |
| download | zg-6693aa392bba45d55096096d118ae0a58f85bfbe.tar.gz zg-6693aa392bba45d55096096d118ae0a58f85bfbe.tar.xz zg-6693aa392bba45d55096096d118ae0a58f85bfbe.zip | |
Removed main
| -rw-r--r-- | build.zig | 26 |
1 files changed, 0 insertions, 26 deletions
| @@ -287,32 +287,6 @@ pub fn build(b: *std.Build) void { | |||
| 287 | case_data.addAnonymousImport("upper", .{ .root_source_file = upper_gen_out }); | 287 | case_data.addAnonymousImport("upper", .{ .root_source_file = upper_gen_out }); |
| 288 | case_data.addAnonymousImport("lower", .{ .root_source_file = lower_gen_out }); | 288 | case_data.addAnonymousImport("lower", .{ .root_source_file = lower_gen_out }); |
| 289 | 289 | ||
| 290 | // Benchmark rig | ||
| 291 | const exe = b.addExecutable(.{ | ||
| 292 | .name = "zg", | ||
| 293 | .root_source_file = .{ .path = "src/main.zig" }, | ||
| 294 | .target = target, | ||
| 295 | .optimize = optimize, | ||
| 296 | // .strip = true, | ||
| 297 | }); | ||
| 298 | // exe.root_module.addImport("ziglyph", ziglyph.module("ziglyph")); | ||
| 299 | // exe.root_module.addImport("ascii", ascii); | ||
| 300 | exe.root_module.addImport("code_point", code_point); | ||
| 301 | // exe.root_module.addImport("grapheme", grapheme); | ||
| 302 | // exe.root_module.addImport("DisplayWidth", display_width); | ||
| 303 | // exe.root_module.addImport("Normalize", norm); | ||
| 304 | // exe.root_module.addImport("CaseFold", case_fold); | ||
| 305 | // exe.root_module.addImport("GenCatData", gencat_data); | ||
| 306 | exe.root_module.addImport("NumericData", num_data); | ||
| 307 | b.installArtifact(exe); | ||
| 308 | |||
| 309 | const run_cmd = b.addRunArtifact(exe); | ||
| 310 | run_cmd.step.dependOn(b.getInstallStep()); | ||
| 311 | if (b.args) |args| run_cmd.addArgs(args); | ||
| 312 | |||
| 313 | const run_step = b.step("run", "Run the app"); | ||
| 314 | run_step.dependOn(&run_cmd.step); | ||
| 315 | |||
| 316 | // Tests | 290 | // Tests |
| 317 | const exe_unit_tests = b.addTest(.{ | 291 | const exe_unit_tests = b.addTest(.{ |
| 318 | .root_source_file = .{ .path = "src/CaseData.zig" }, | 292 | .root_source_file = .{ .path = "src/CaseData.zig" }, |