We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad57db commit 9a6b619Copy full SHA for 9a6b619
1 file changed
build.zig
@@ -1,6 +1,7 @@
1
const std = @import("std");
2
3
pub fn build(b: *std.Build) void {
4
+ const exe_name = b.option([]const u8, "exe_name", "Name of the executable") orelse "httpspec";
5
const dependencies = [_][]const u8{
6
"clap",
7
};
@@ -15,7 +16,7 @@ pub fn build(b: *std.Build) void {
15
16
});
17
18
const exe = b.addExecutable(.{
- .name = "httpspec",
19
+ .name = exe_name,
20
.root_module = exe_mod,
21
22
0 commit comments