Mode addModule to the top

This commit is contained in:
Jimmi Holst Christensen 2023-03-01 15:48:59 +01:00
parent 305bc8d997
commit b8b2cf891d

View File

@ -1,11 +1,11 @@
const std = @import("std");
pub fn build(b: *std.Build) void {
b.addModule(.{ .name = "clap", .source_file = .{ .path = "clap.zig" } });
const optimize = b.standardOptimizeOption(.{});
const target = b.standardTargetOptions(.{});
b.addModule(.{ .name = "clap", .source_file = .{ .path = "clap.zig" } });
const test_step = b.step("test", "Run all tests in all modes.");
const tests = b.addTest(.{
.root_source_file = .{ .path = "clap.zig" },