summaryrefslogtreecommitdiff
path: root/build.zig
blob: a7b2b23479b332affe99d4a97a8efd69ea5c807e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const std = @import("std");

pub fn build(b: *std.Build) void {
    const exe = b.addExecutable(.{
        .name = "coinvane",
        .root_module = b.createModule(.{ .root_source_file = b.path("coinvane.zig"), .target = b.graph.host }),
    });

    b.installArtifact(exe);

    const run_exe = b.addRunArtifact(exe);
    const run_step = b.step("run", "Run the application");
    run_step.dependOn(&run_exe.step);
}