Update build script

This commit is contained in:
kayomn 2022-10-27 16:51:49 +01:00
parent 5a913ef0f8
commit 14397b05e3
1 changed files with 0 additions and 11 deletions

View File

@ -12,7 +12,6 @@ pub fn build(builder: *std.build.Builder) void {
{
const exe = builder.addExecutable("ona", "./src/ona/main.zig");
exe.addPackage(projectPkg("oar", &.{core_pkg}));
exe.addPackage(core_pkg);
exe.setTarget(target);
exe.setBuildMode(mode);
@ -22,16 +21,6 @@ pub fn build(builder: *std.build.Builder) void {
exe.linkLibC();
}
// Oar executable.
{
const exe = builder.addExecutable("oar", "./src/oar/main.zig");
exe.addPackage(core_pkg);
exe.setTarget(target);
exe.setBuildMode(mode);
exe.install();
}
// Tests executable.
{
const tests = builder.addTestExe("test", "./src/tests.zig");