From a4d2e17f601502bc34980c0725a2677d3ecdc885 Mon Sep 17 00:00:00 2001 From: menduz Date: Wed, 28 Jun 2023 19:40:58 -0300 Subject: [PATCH 1/2] fix: add missing comptime --- zig-ecs/src/ecs/registry.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zig-ecs/src/ecs/registry.zig b/zig-ecs/src/ecs/registry.zig index 39c7df7..143e832 100644 --- a/zig-ecs/src/ecs/registry.zig +++ b/zig-ecs/src/ecs/registry.zig @@ -322,7 +322,7 @@ pub const Registry = struct { } /// shortcut for add-or-replace raw comptime_int/float without having to @as cast - pub fn addOrReplaceTyped(self: *Registry, T: type, entity: Entity, value: T) void { + pub fn addOrReplaceTyped(self: *Registry, comptime T: type, entity: Entity, value: T) void { self.addOrReplace(entity, value); } From da441c336387aa6f4030ca02e818588730713e64 Mon Sep 17 00:00:00 2001 From: prime31 Date: Thu, 29 Jun 2023 12:01:57 -0700 Subject: [PATCH 2/2] Delete .github/workflows directory --- zig-ecs/.github/workflows/ci.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 zig-ecs/.github/workflows/ci.yml diff --git a/zig-ecs/.github/workflows/ci.yml b/zig-ecs/.github/workflows/ci.yml deleted file mode 100644 index 5043895..0000000 --- a/zig-ecs/.github/workflows/ci.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Workflow -on: [push] - -jobs: - test: - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{matrix.os}} - steps: - - uses: actions/checkout@v2 - - uses: goto-bus-stop/setup-zig@v1 - with: - version: master - - run: zig fmt src - - run: zig fmt examples - - run: zig fmt tests - - run: zig fmt build.zig - - run: zig build test