Skip to content

Commit

Permalink
chore: compact zig 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanaasagi committed Dec 5, 2024
1 parent aeebd4b commit 1bea102
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/zig-out/
**/zig-cache/
**/kcov-out/
.zig-cache/
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn build(b: *std.Build) void {
_ = dep_opts;

_ = b.addModule("struct-env", .{
.root_source_file = .{ .path = "src/lib.zig" },
.root_source_file = b.path("src/lib.zig"),
.imports = &.{},
});

Expand All @@ -44,7 +44,7 @@ pub fn build(b: *std.Build) void {
// Creates a step for unit testing. This only builds the test executable
// but does not run it.
const lib_tests = b.addTest(.{
.root_source_file = .{ .path = "src/lib.zig" },
.root_source_file = b.path("src/lib.zig"),
.target = target,
.optimize = optimize,
});
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = "struct-env",
.version = "0.1.0",
.version = "0.1.1",
.dependencies = .{},
.paths = .{""},
}

0 comments on commit 1bea102

Please sign in to comment.