aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig9
1 files changed, 2 insertions, 7 deletions
diff --git a/build.zig b/build.zig
index 5d8295b..d7721ed 100644
--- a/build.zig
+++ b/build.zig
@@ -2,7 +2,7 @@ const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
- //const optimize = b.standardOptimizeOption(.{});
+ //const optimize = b.standardOptimizeOption(.{});
const mod = b.addModule("typdown", .{
.root_source_file = b.path("src/root.zig"),
@@ -20,25 +20,20 @@ pub fn build(b: *std.Build) void {
// },
// }),
//});
-
//b.installArtifact(exe);
//const run_step = b.step("run", "Run the app");
-
//const run_cmd = b.addRunArtifact(exe);
-
//run_step.dependOn(&run_cmd.step);
-
//run_cmd.step.dependOn(b.getInstallStep());
//if (b.args) |args| {
// run_cmd.addArgs(args);
//}
-
+
const mod_tests = b.addTest(.{
.root_module = mod,
});
-
const run_mod_tests = b.addRunArtifact(mod_tests);
//const exe_tests = b.addTest(.{