@@ -16,20 +16,20 @@ pub fn build(b: *std.Build) void {
1616 const config_options = b .addOptions ();
1717 config_options .addOption (IntLen , "intlen" , intlen );
1818
19- const mod = b .addModule ("htmlparser " , .{
19+ const mod = b .addModule ("html " , .{
2020 .root_source_file = b .path ("src/root.zig" ),
2121 .target = target ,
2222 });
2323 mod .addOptions ("config" , config_options );
2424
2525 const exe = b .addExecutable (.{
26- .name = "htmlparser " ,
26+ .name = "html " ,
2727 .root_module = b .createModule (.{
2828 .root_source_file = b .path ("src/main.zig" ),
2929 .target = target ,
3030 .optimize = optimize ,
3131 .imports = &.{
32- .{ .name = "htmlparser " , .module = mod },
32+ .{ .name = "html " , .module = mod },
3333 },
3434 }),
3535 });
@@ -40,25 +40,25 @@ pub fn build(b: *std.Build) void {
4040 .target = target ,
4141 .optimize = optimize ,
4242 .imports = &.{
43- .{ .name = "htmlparser " , .module = mod },
43+ .{ .name = "html " , .module = mod },
4444 },
4545 });
4646
4747 const bench_exe = b .addExecutable (.{
48- .name = "htmlparser -bench" ,
48+ .name = "html -bench" ,
4949 .root_module = b .createModule (.{
5050 .root_source_file = b .path ("tools/bench/bench.zig" ),
5151 .target = target ,
5252 .optimize = optimize ,
5353 .imports = &.{
54- .{ .name = "htmlparser " , .module = mod },
54+ .{ .name = "html " , .module = mod },
5555 .{ .name = "parse_mode" , .module = parse_mode_mod },
5656 },
5757 }),
5858 });
5959
6060 const tools_exe = b .addExecutable (.{
61- .name = "htmlparser -tools" ,
61+ .name = "html -tools" ,
6262 .root_module = b .createModule (.{
6363 .root_source_file = b .path ("tools/scripts.zig" ),
6464 .target = target ,
@@ -72,7 +72,7 @@ pub fn build(b: *std.Build) void {
7272
7373 const run_step = b .step ("run" , "Run the demo app" );
7474 const bench_step = b .step ("bench" , "Run parser/query benchmarks" );
75- const tools_step = b .step ("tools" , "Run htmlparser -tools utility" );
75+ const tools_step = b .step ("tools" , "Run html -tools utility" );
7676 const bench_compare_step = b .step ("bench-compare" , "Benchmark against external parser implementations" );
7777 const conformance_step = b .step ("conformance" , "Run external parser/selector conformance suites (strictest+fastest)" );
7878 const docs_check_step = b .step ("docs-check" , "Validate markdown links and documented commands" );
@@ -150,13 +150,13 @@ pub fn build(b: *std.Build) void {
150150 .target = target ,
151151 .optimize = optimize ,
152152 .imports = &.{
153- .{ .name = "htmlparser " , .module = mod },
153+ .{ .name = "html " , .module = mod },
154154 .{ .name = "examples" , .module = b .createModule (.{
155155 .root_source_file = b .path ("examples/examples.zig" ),
156156 .target = target ,
157157 .optimize = optimize ,
158158 .imports = &.{
159- .{ .name = "htmlparser " , .module = mod },
159+ .{ .name = "html " , .module = mod },
160160 },
161161 }) },
162162 },
@@ -171,7 +171,7 @@ pub fn build(b: *std.Build) void {
171171 .target = target ,
172172 .optimize = optimize ,
173173 .imports = &.{
174- .{ .name = "htmlparser " , .module = mod },
174+ .{ .name = "html " , .module = mod },
175175 },
176176 }),
177177 .test_runner = .{ .path = b .path ("tools/test_runner.zig" ), .mode = .simple },
@@ -194,7 +194,7 @@ pub fn build(b: *std.Build) void {
194194 .target = target ,
195195 .optimize = optimize ,
196196 .imports = &.{
197- .{ .name = "htmlparser " , .module = mod },
197+ .{ .name = "html " , .module = mod },
198198 .{ .name = "parse_mode" , .module = parse_mode_mod },
199199 },
200200 }),
0 commit comments