Update build script to latest Zig version
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2023-05-07 14:39:38 +00:00
parent 946c67f154
commit 52278ab8e0
1 changed files with 1 additions and 9 deletions

View File

@ -38,17 +38,9 @@ pub fn build(builder: *std.Build) void {
ona_exe.addModule("ona", ona_module); ona_exe.addModule("ona", ona_module);
ona_exe.addModule("kym", kym_module); ona_exe.addModule("kym", kym_module);
ona_exe.install();
// ona_exe.addIncludeDir("./ext"); // ona_exe.addIncludeDir("./ext");
ona_exe.linkSystemLibrary("SDL2"); ona_exe.linkSystemLibrary("SDL2");
ona_exe.linkLibC(); ona_exe.linkLibC();
builder.installArtifact(ona_exe);
const run_cmd = ona_exe.run();
run_cmd.step.dependOn(builder.getInstallStep());
if (builder.args) |args| run_cmd.addArgs(args);
builder.step("run", "Run Ona application").dependOn(&run_cmd.step);
} }
} }