diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 12 |
1 files changed, 0 insertions, 12 deletions
| @@ -137,16 +137,6 @@ pub fn build(b: *std.Build) void { | |||
| 137 | const run_lower_gen_exe = b.addRunArtifact(lower_gen_exe); | 137 | const run_lower_gen_exe = b.addRunArtifact(lower_gen_exe); |
| 138 | const lower_gen_out = run_lower_gen_exe.addOutputFileArg("lower.bin.z"); | 138 | const lower_gen_out = run_lower_gen_exe.addOutputFileArg("lower.bin.z"); |
| 139 | 139 | ||
| 140 | // Titlecase mappings | ||
| 141 | const title_gen_exe = b.addExecutable(.{ | ||
| 142 | .name = "title", | ||
| 143 | .root_source_file = .{ .path = "codegen/title.zig" }, | ||
| 144 | .target = b.host, | ||
| 145 | .optimize = .Debug, | ||
| 146 | }); | ||
| 147 | const run_title_gen_exe = b.addRunArtifact(title_gen_exe); | ||
| 148 | const title_gen_out = run_title_gen_exe.addOutputFileArg("title.bin.z"); | ||
| 149 | |||
| 150 | // Modules we provide | 140 | // Modules we provide |
| 151 | // Code points | 141 | // Code points |
| 152 | const code_point = b.addModule("code_point", .{ | 142 | const code_point = b.addModule("code_point", .{ |
| @@ -296,7 +286,6 @@ pub fn build(b: *std.Build) void { | |||
| 296 | case_data.addAnonymousImport("case_prop", .{ .root_source_file = case_prop_gen_out }); | 286 | case_data.addAnonymousImport("case_prop", .{ .root_source_file = case_prop_gen_out }); |
| 297 | case_data.addAnonymousImport("upper", .{ .root_source_file = upper_gen_out }); | 287 | case_data.addAnonymousImport("upper", .{ .root_source_file = upper_gen_out }); |
| 298 | case_data.addAnonymousImport("lower", .{ .root_source_file = lower_gen_out }); | 288 | case_data.addAnonymousImport("lower", .{ .root_source_file = lower_gen_out }); |
| 299 | case_data.addAnonymousImport("title", .{ .root_source_file = title_gen_out }); | ||
| 300 | 289 | ||
| 301 | // Benchmark rig | 290 | // Benchmark rig |
| 302 | const exe = b.addExecutable(.{ | 291 | const exe = b.addExecutable(.{ |
| @@ -344,7 +333,6 @@ pub fn build(b: *std.Build) void { | |||
| 344 | exe_unit_tests.root_module.addAnonymousImport("case_prop", .{ .root_source_file = case_prop_gen_out }); | 333 | exe_unit_tests.root_module.addAnonymousImport("case_prop", .{ .root_source_file = case_prop_gen_out }); |
| 345 | exe_unit_tests.root_module.addAnonymousImport("upper", .{ .root_source_file = upper_gen_out }); | 334 | exe_unit_tests.root_module.addAnonymousImport("upper", .{ .root_source_file = upper_gen_out }); |
| 346 | exe_unit_tests.root_module.addAnonymousImport("lower", .{ .root_source_file = lower_gen_out }); | 335 | exe_unit_tests.root_module.addAnonymousImport("lower", .{ .root_source_file = lower_gen_out }); |
| 347 | exe_unit_tests.root_module.addAnonymousImport("title", .{ .root_source_file = title_gen_out }); | ||
| 348 | // exe_unit_tests.filter = "nfd !ASCII"; | 336 | // exe_unit_tests.filter = "nfd !ASCII"; |
| 349 | 337 | ||
| 350 | const run_exe_unit_tests = b.addRunArtifact(exe_unit_tests); | 338 | const run_exe_unit_tests = b.addRunArtifact(exe_unit_tests); |