diff --git a/build.zig b/build.zig index e4037d8..d26028d 100644 --- a/build.zig +++ b/build.zig @@ -3,8 +3,8 @@ const std = @import("std"); pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - const root_source_file = std.Build.LazyPath.relative("src/main.zig"); - const version = std.SemanticVersion{ .major = 0, .minor = 2, .patch = 1 }; + const root_source_file = b.path("src/main.zig"); + const version = std.SemanticVersion{ .major = 0, .minor = 2, .patch = 2 }; // Dependencies const clap_dep = b.dependency("clap", .{ diff --git a/build.zig.zon b/build.zig.zon index 156d2b1..4dc9082 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,10 +1,10 @@ .{ .name = "liza", - .version = "0.2.1", + .version = "0.2.2", .dependencies = .{ .clap = .{ - .url = "https://github.com/Hejsil/zig-clap/archive/209ba4d.tar.gz", - .hash = "12200103e7b4a0cb162f2912df4fe97914024a25b5c9fcce6ea4119744f3f2a7f24e", + .url = "https://github.com/Hejsil/zig-clap/archive/8c98e64.tar.gz", + .hash = "122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d", }, }, .paths = .{ diff --git a/src/templates/exe/build.zig b/src/templates/exe/build.zig index eb368f8..27f4d8e 100644 --- a/src/templates/exe/build.zig +++ b/src/templates/exe/build.zig @@ -3,7 +3,7 @@ const std = @import("std"); pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - const root_source_file = std.Build.LazyPath.relative("src/main.zig"); + const root_source_file = b.path("src/main.zig"); const version = std.SemanticVersion{ .major = 0, .minor = 1, .patch = 0 }; // Dependencies diff --git a/src/templates/exe/build.zig.zon b/src/templates/exe/build.zig.zon index 3ef1b53..c79d3c9 100644 --- a/src/templates/exe/build.zig.zon +++ b/src/templates/exe/build.zig.zon @@ -3,8 +3,8 @@ .version = "0.1.0", .dependencies = .{ .clap = .{ - .url = "https://github.com/Hejsil/zig-clap/archive/0f2db77.tar.gz", - .hash = "12203896de6eedec14712f4f1eaac8b646939cfed213c56accf231a0abb05f9dbb77", + .url = "https://github.com/Hejsil/zig-clap/archive/8c98e64.tar.gz", + .hash = "122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d", }, }, .paths = .{ diff --git a/src/templates/lib/build.zig b/src/templates/lib/build.zig index 42f73ea..a9d3d6d 100644 --- a/src/templates/lib/build.zig +++ b/src/templates/lib/build.zig @@ -3,7 +3,7 @@ const std = @import("std"); pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - const root_source_file = std.Build.LazyPath.relative("src/lib.zig"); + const root_source_file = b.path("src/lib.zig"); const version = std.SemanticVersion{ .major = 0, .minor = 1, .patch = 0 }; // Module @@ -44,7 +44,7 @@ pub fn build(b: *std.Build) void { .target = target, .version = version, .optimize = optimize, - .root_source_file = std.Build.LazyPath.relative(EXAMPLES_DIR ++ EXAMPLE_NAME ++ "/main.zig"), + .root_source_file = b.path(EXAMPLES_DIR ++ EXAMPLE_NAME ++ "/main.zig"), }); example.root_module.addImport("?", lib_mod);