Skip to content

Commit

Permalink
Fix standalone/build.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
sam701 committed Jan 5, 2024
1 parent 32b2d6d commit fef13e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/standalone/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});
exe.addModule("zig-cli", zigcli_mod);
exe.root_module.addImport("zig-cli", zigcli_mod);

// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default
Expand Down
4 changes: 2 additions & 2 deletions examples/standalone/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
.dependencies = .{
.@"zig-cli" = .{
// URL pattern: https://github.com/sam701/zig-cli/archive/<commit hash>.tar.gz
.url = "https://github.com/sam701/zig-cli/archive/ddf49596a9225c91e6cd9c28904aec598d5becf0.tar.gz",
.hash = "1220787d26a153a3755d55c8b65af53f7b1c4d79add4a47e2898dc776f3a16f1ce89",
.url = "https://github.com/sam701/zig-cli/archive/aa3de8e548a3d68c63e299dae3a97bc0a669dfa3.tar.gz",
.hash = "1220b1cc7c256080eb3229d95a8519d6a33035dc83558a8ca1ed6e407008a38fe2c2",
},
},
}

0 comments on commit fef13e1

Please sign in to comment.