@@ -8,14 +8,14 @@ pub fn build(b: *std.Build) !void {
88 const optimize = b .standardOptimizeOption (.{});
99
1010 const ziggy = b .addModule ("ziggy" , .{
11- .root_source_file = .{ . path = "src/root.zig" } ,
11+ .root_source_file = b . path ( "src/root.zig" ) ,
1212 .target = target ,
1313 .optimize = optimize ,
1414 .strip = false ,
1515 });
1616
1717 const unit_tests = b .addTest (.{
18- .root_source_file = .{ . path = "src/root.zig" } ,
18+ .root_source_file = b . path ( "src/root.zig" ) ,
1919 .target = target ,
2020 .optimize = optimize ,
2121 .strip = false ,
@@ -34,7 +34,7 @@ pub fn build(b: *std.Build) !void {
3434
3535 const ziggy_exe = b .addExecutable (.{
3636 .name = "ziggy" ,
37- .root_source_file = .{ . path = "src/main.zig" } ,
37+ .root_source_file = b . path ( "src/main.zig" ) ,
3838 .target = target ,
3939 .optimize = optimize ,
4040 });
@@ -55,7 +55,7 @@ pub fn build(b: *std.Build) !void {
5555
5656 const ziggy_check = b .addExecutable (.{
5757 .name = "ziggy_check" ,
58- .root_source_file = .{ . path = "src/main.zig" } ,
58+ .root_source_file = b . path ( "src/main.zig" ) ,
5959 .target = target ,
6060 .optimize = optimize ,
6161 });
@@ -82,7 +82,7 @@ pub fn build(b: *std.Build) !void {
8282
8383 const release_exe = b .addExecutable (.{
8484 .name = "ziggy" ,
85- .root_source_file = .{ . path = "src/main.zig" } ,
85+ .root_source_file = b . path ( "src/main.zig" ) ,
8686 .target = release_target ,
8787 .optimize = .ReleaseFast ,
8888 });
0 commit comments