diff --git a/build.zig b/build.zig index ffeef1a..a0f535c 100644 --- a/build.zig +++ b/build.zig @@ -25,7 +25,7 @@ pub fn build(b: *std.Build) !void { const lib = b.addStaticLibrary(.{ .name = "jetzig", - .root_source_file = .{ .path = "src/jetzig.zig" }, + .root_source_file = b.path("src/jetzig.zig"), .target = target, .optimize = optimize, }); @@ -34,7 +34,7 @@ pub fn build(b: *std.Build) !void { const zig_args_dep = b.dependency("args", .{ .target = target, .optimize = optimize }); - const jetzig_module = b.addModule("jetzig", .{ .root_source_file = .{ .path = "src/jetzig.zig" } }); + const jetzig_module = b.addModule("jetzig", .{ .root_source_file = b.path("src/jetzig.zig") }); jetzig_module.addImport("mime_types", mime_module); lib.root_module.addImport("jetzig", jetzig_module); @@ -79,7 +79,7 @@ pub fn build(b: *std.Build) !void { jetzig_module.addImport("httpz", httpz_dep.module("httpz")); const main_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/tests.zig" }, + .root_source_file = b.path("src/tests.zig"), .target = target, .optimize = optimize, }); diff --git a/build.zig.zon b/build.zig.zon index b84c226..04619d2 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -3,28 +3,28 @@ .version = "0.0.0", .dependencies = .{ .zmd = .{ - .url = "https://github.com/jetzig-framework/zmd/archive/557ab8a29c0f7b5d096070cde2858cf27da8b0f1.tar.gz", - .hash = "1220482f07f2bbaef335f20d6890c15a1e14739950b784232bc69182423520e058a5", + .url = "https://github.com/jetzig-framework/zmd/archive/a197906b017d2a2d6c1896d77c04a74b13ddfa7f.tar.gz", + .hash = "12203b56c2e17a2fd62ea3d3d9be466f43921a3aef88b381cf58f41251815205fdb5", }, .zmpl = .{ - .url = "https://github.com/jetzig-framework/zmpl/archive/ef04bf3579e176f9fa3a02effc4ffcbbb5d080d8.tar.gz", - .hash = "12209bd490ef2c841d607a6260be9cc40e20dc76786cb99d0fcd72cfef4a253a840d", + .url = "https://github.com/jetzig-framework/zmpl/archive/918b74353c5680b54b435dcacd67268b23ffa129.tar.gz", + .hash = "1220bf01968a822771a33bb51e37ff8ee13d21437f95ec55150ffa7c6a9fb1dfcbc5", }, .jetkv = .{ - .url = "https://github.com/jetzig-framework/jetkv/archive/6fc375b1ece563ae6d16849bb7c0441ff2883a04.tar.gz", - .hash = "122079edca9ea46ebb5ce8f05ea2c58ee957cf2d73fcfd9a0fd6a50f65879f3bf88f", + .url = "https://github.com/jetzig-framework/jetkv/archive/78bcdcc6b0cbd3ca808685c64554a15701f13250.tar.gz", + .hash = "12201944769794b2f18e3932ec3d5031066d0ccb3293cf7c3fb1f5b269e56b76c57e", }, .args = .{ - .url = "https://github.com/ikskuh/zig-args/archive/01d72b9a0128c474aeeb9019edd48605fa6d95f7.tar.gz", - .hash = "12208a1de366740d11de525db7289345949f5fd46527db3f89eecc7bb49b012c0732", + .url = "https://github.com/ikskuh/zig-args/archive/872272205d95bdba33798c94e72c5387a31bc806.tar.gz", + .hash = "1220fe6ae56b668cc4a033282b5f227bfbb46a67ede6d84e9f9493fea9de339b5f37", }, .smtp_client = .{ .url = "https://github.com/karlseguin/smtp_client.zig/archive/964152ad4e19dc1d22f6def6f659c86df60e7832.tar.gz", .hash = "1220d4f1c2472769b0d689ea878f41f0a66cb07f28569a138aea2c0a648a5c90dd4e", }, .httpz = .{ - .url = "https://github.com/karlseguin/http.zig/archive/34f1aa8a1486478414e876f65364a501d73c8a76.tar.gz", - .hash = "12205404dd8bdd98c659e844385154eb28116c1be073103fc94739bc99fa912323e8", + .url = "https://github.com/karlseguin/http.zig/archive/4ed728d21999ffcb11cc0b0604dcebc9e02cfc17.tar.gz", + .hash = "122010547ef8bbc781372311b66ce72b297c4e61e3423437825da076055ff9c07bb4", }, }, diff --git a/cli/build.zig b/cli/build.zig index 051e610..d4743d5 100644 --- a/cli/build.zig +++ b/cli/build.zig @@ -8,7 +8,7 @@ pub fn build(b: *std.Build) !void { const exe = b.addExecutable(.{ .name = "jetzig", - .root_source_file = .{ .path = "cli.zig" }, + .root_source_file = b.path("cli.zig"), .target = target, .optimize = optimize, }); diff --git a/cli/build.zig.zon b/cli/build.zig.zon index 66a91ad..226feba 100644 --- a/cli/build.zig.zon +++ b/cli/build.zig.zon @@ -5,8 +5,8 @@ .dependencies = .{ .args = .{ - .url = "https://github.com/MasterQ32/zig-args/archive/01d72b9a0128c474aeeb9019edd48605fa6d95f7.tar.gz", - .hash = "12208a1de366740d11de525db7289345949f5fd46527db3f89eecc7bb49b012c0732", + .url = "https://github.com/ikskuh/zig-args/archive/872272205d95bdba33798c94e72c5387a31bc806.tar.gz", + .hash = "1220fe6ae56b668cc4a033282b5f227bfbb46a67ede6d84e9f9493fea9de339b5f37", }, }, .paths = .{ diff --git a/demo/build.zig b/demo/build.zig index 8f2e0ae..289f83e 100644 --- a/demo/build.zig +++ b/demo/build.zig @@ -7,7 +7,7 @@ pub fn build(b: *std.Build) !void { const exe = b.addExecutable(.{ .name = "jetzig-demo", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); @@ -31,7 +31,7 @@ pub fn build(b: *std.Build) !void { run_step.dependOn(&run_cmd.step); const lib_unit_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) !void { const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests); const exe_unit_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); diff --git a/demo/build.zig.zon b/demo/build.zig.zon index 649531f..cf38161 100644 --- a/demo/build.zig.zon +++ b/demo/build.zig.zon @@ -7,8 +7,8 @@ .path = "../", }, .iguanas = .{ - .url = "https://github.com/jetzig-framework/iguanas/archive/89c2abf29de0bc31054a9a6feac5a6a83bab0459.tar.gz", - .hash = "12202fd319a5ab4e124b00e8ddea474d07c19c4e005d77b6c29fc44860904ea01a5c", + .url = "https://github.com/jetzig-framework/iguanas/archive/045f34b3455fb5bbec8cbf81fdc5d19ee54bd625.tar.gz", + .hash = "12207f8cca149669f7c4bdc02103f6194189a312bbaae97b54e6dc3fb8483d6107bf", }, }, .paths = .{