elphin/example-ci/build.zig

11 lines
342 B
Zig
Raw Permalink Normal View History

2024-05-10 18:48:01 +00:00
const std = @import("std");
const elphin = @import("elphin");
pub fn build(b: *std.Build) void {
2024-06-07 13:56:28 +00:00
const file = b.addInstallBinFile(b.path("../testdata/example.elf"), "lol.elf");
2024-05-10 18:48:01 +00:00
b.getInstallStep().dependOn(&file.step);
2024-05-10 19:00:16 +00:00
const convert = elphin.convertInstalled(b, "lol.elf", .{});
2024-05-10 18:48:01 +00:00
b.getInstallStep().dependOn(&convert.step);
}