chore: Cleanup

This commit is contained in:
Kalle Carlbark 2023-08-30 22:28:52 +02:00
parent 8643a63910
commit a73152d972
No known key found for this signature in database

View file

@ -16,10 +16,8 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{}); const optimize = b.standardOptimizeOption(.{});
const clap_dep = b.dependency("clap", .{ .target = target, .optimize = optimize }); const clap_dep = b.dependency("clap", .{ .target = target, .optimize = optimize });
// const zbench_dep = b.dependency("zbench", .{ .target = target, .optimize = optimize });
const clap = clap_dep.module("clap"); const clap = clap_dep.module("clap");
// const zbench = zbench_dep.module("zbench");
var opt = b.addOptions(); var opt = b.addOptions();
opt.addOption([]const u8, "version", "0.0.1"); opt.addOption([]const u8, "version", "0.0.1");
const exe = b.addExecutable(.{ const exe = b.addExecutable(.{
@ -32,7 +30,6 @@ pub fn build(b: *std.Build) void {
}); });
exe.addModule("build_info", opt.createModule()); exe.addModule("build_info", opt.createModule());
exe.addModule("clap", clap); exe.addModule("clap", clap);
// exe.addModule("zbench", zbench);
// This declares intent for the executable to be installed into the // This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default // standard location when the user invokes the "install" step (the default