Skip to content

Commit

Permalink
fix: build typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorush committed Apr 13, 2024
1 parent a2be985 commit 53f3675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions src/templates/exe/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ pub fn build(b: *std.Build) void {
const version = std.SemanticVersion{ .major = 0, .minor = 1, .patch = 0 };

// Dependencies
const clap_dep = b.dependency("clap", .{
.target = target,
.optimize = optimize,
});
const clap_dep = b.dependency("clap", .{ .target = target, .optimize = optimize });
const clap_mod = clap_dep.module("clap");

// Executable
Expand Down Expand Up @@ -39,7 +36,7 @@ pub fn build(b: *std.Build) void {
const doc_install = b.addInstallDirectory(.{
.install_dir = .prefix,
.install_subdir = "doc",
.source_dir = exe.getEmittedDoc(),
.source_dir = exe.getEmittedDocs(),
});
doc_step.dependOn(&doc_install.step);
b.default_step.dependOn(doc_step);
Expand Down
2 changes: 1 addition & 1 deletion src/templates/lib/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn build(b: *std.Build) void {
const doc_install = b.addInstallDirectory(.{
.install_dir = .prefix,
.install_subdir = "doc",
.source_dir = lib.getEmittedDoc(),
.source_dir = lib.getEmittedDocs(),
});
doc_step.dependOn(&doc_install.step);
b.default_step.dependOn(doc_step);
Expand Down

0 comments on commit 53f3675

Please sign in to comment.