File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ pub fn build(b: *std.Build) void {
55 const optimize = b .standardOptimizeOption (.{});
66
77 const module = b .addModule ("parser-toolkit" , .{
8- .root_source_file = .{ . path = "src/main.zig" } ,
8+ .root_source_file = b . path ( "src/main.zig" ) ,
99 });
1010
1111 const main_tests = b .addTest (.{
12- .root_source_file = .{ . path = "src/main.zig" } ,
12+ .root_source_file = b . path ( "src/main.zig" ) ,
1313 .optimize = optimize ,
1414 });
1515
1616 const test_step = b .step ("test" , "Run library tests" );
1717 test_step .dependOn (& b .addRunArtifact (main_tests ).step );
1818
1919 const calculator_example = b .addExecutable (.{
20- .root_source_file = .{ . path = "examples/calculator.zig" } ,
20+ .root_source_file = b . path ( "examples/calculator.zig" ) ,
2121 .name = "calculator" ,
2222 .optimize = optimize ,
2323 .target = target ,
You can’t perform that action at this time.
0 commit comments