mach-ecs moves back into the main repository

Helps hexops/mach#1165

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-03-04 10:28:48 -07:00 committed by Stephen Gutekanst
parent 5f70579360
commit 221364415e
6 changed files with 4 additions and 15 deletions

View file

@ -1,7 +1,7 @@
const core = @import("mach-core");
const gpu = @import("mach-core").gpu;
const std = @import("std");
const ecs = @import("mach-ecs");
const ecs = @import("../main.zig").ecs;
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
const allocator = gpa.allocator();

View file

@ -1,7 +1,7 @@
const std = @import("std");
const core = @import("mach-core");
const gpu = core.gpu;
const ecs = @import("mach-ecs");
const ecs = @import("../main.zig").ecs;
const Engine = @import("../engine.zig").Engine;
const mach = @import("../main.zig");

View file

@ -5,10 +5,10 @@ pub const Timer = core.Timer;
// Mach packages
pub const gpu = core.gpu;
pub const sysjs = @import("mach-sysjs");
pub const ecs = @import("mach-ecs");
pub const sysaudio = @import("mach-sysaudio");
// Mach standard library
pub const ecs = @import("ecs/main.zig");
pub const gfx = @import("gfx/main.zig");
pub const math = @import("math/main.zig");
pub const testing = @import("testing.zig");
@ -25,10 +25,10 @@ test {
// std.testing.refAllDeclsRecursive(@This());
_ = core;
_ = gpu;
_ = ecs;
_ = sysaudio;
_ = gfx;
_ = math;
_ = testing;
std.testing.refAllDeclsRecursive(ecs);
std.testing.refAllDeclsRecursive(math);
}