Compare commits
2 commits
733d43d360
...
635d0a86ac
Author | SHA1 | Date | |
---|---|---|---|
![]() |
635d0a86ac | ||
f41558cadc |
10 changed files with 866 additions and 725 deletions
|
@ -4,6 +4,7 @@
|
||||||
"testkit": "tools/testkit",
|
"testkit": "tools/testkit",
|
||||||
"mirror": "mirror",
|
"mirror": "mirror",
|
||||||
"tools": "tools",
|
"tools": "tools",
|
||||||
|
"addons": "addons"
|
||||||
},
|
},
|
||||||
"languageMode": "strict"
|
"languageMode": "strict"
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,29 +11,48 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- `[world]`:
|
- `[world]`:
|
||||||
- 16% faster `world:get`
|
- Changed `world:clear` to also look through the component record for the cleared `ID`
|
||||||
- `world:has` no longer typechecks components after the 8th one.
|
- Removes the cleared ID from every entity that has it
|
||||||
- `[typescript]`
|
- Changed entity ID layouts by putting the index in the lower bits, which should make every world function 1-5 nanoseconds faster
|
||||||
|
- Fixed `world:delete` not removing every pair with an unalive target
|
||||||
|
- Specifically happened when you had at least two pairs of different relations with multiple targets each
|
||||||
|
- `[hooks]`:
|
||||||
|
- Replaced `OnSet` with `OnChange`
|
||||||
|
- The former was used to detect emplace/move actions. Now the behaviour for `OnChange` is that it will run only when the value has changed
|
||||||
|
- Changed `OnAdd` to specifically run after the data has been set for non-zero-sized components. Also returns the value that the component was set to
|
||||||
|
- This should allow a more lenient window for modifying data
|
||||||
|
- Changed `OnRemove` to lazily lookup which archetype the entity will move to
|
||||||
|
- Can now have interior structural changes within `OnRemove` hooks
|
||||||
|
- Optimized `world:has` for both single component and multiple component presence.
|
||||||
|
- This comes at the cost that it cannot check the component presence for more than 4 components at a time. If this is important, consider calling to this function multiple times.
|
||||||
|
|
||||||
- Fixed Entity type to default to `undefined | unknown` instead of just `undefined`
|
## [0.5.0] - 2024-12-26
|
||||||
|
|
||||||
|
- `[world]`:
|
||||||
|
- Fixed `world:target` not giving adjacent pairs
|
||||||
|
- Added `world:each` to find entities with a specific Tag
|
||||||
|
- Added `world:children` to find children of entity
|
||||||
- `[query]`:
|
- `[query]`:
|
||||||
- Fixed bug where `world:clear` did not invoke `jecs.OnRemove` hooks
|
- Added `query:cached`
|
||||||
- Changed `query.__iter` to drain on iteration
|
- Adds query cache that updates itself when an archetype matching the query gets created or deleted.
|
||||||
- It will initialize once wherever you left iteration off at last time
|
- `[luau]`:
|
||||||
- Changed `query:iter` to restart the iterator
|
- Changed how entities' types are inferred with user-defined type functions
|
||||||
- Removed `query:drain` and `query:next`
|
- Changed `Pair<First, Second>` to return `Second` if `First` is a `Tag`; otherwise, returns `First`.
|
||||||
- If you want to get individual results outside of a for-loop, you need to call `query:iter` to initialize the iterator and then call the iterator function manually
|
|
||||||
```lua
|
## [0.4.0] - 2024-11-17
|
||||||
local it = world:query(A, B, C):iter()
|
|
||||||
local entity, a, b, c = it()
|
- `[world]`:
|
||||||
entity, a, b, c = it() -- get next results
|
- Added recycling to `world:entity`
|
||||||
```
|
- If you see much larger entity ids, that is because its generation has been incremented
|
||||||
- `[world`
|
- `[query]`:
|
||||||
- Fixed a bug with `world:clear` not invoking `jecs.OnRemove` hooks
|
- Removed `query:drain`
|
||||||
- `[typescript]`:
|
- The default behaviour is simply to drain the iterator
|
||||||
- Changed pair to accept generics
|
- Removed `query:next`
|
||||||
- Improved handling of Tags
|
- Just call the iterator function returned by `query:iter` directly if you want to get the next results
|
||||||
|
- Removed `query:replace`
|
||||||
|
- `[luau]`:
|
||||||
|
- Fixed `query:archetypes` not taking `self`
|
||||||
|
- Changed so that the `jecs.Pair` type now returns the first element's type so you won't need to typecast anymore.
|
||||||
|
|
||||||
## [0.3.2] - 2024-10-01
|
## [0.3.2] - 2024-10-01
|
||||||
|
|
||||||
|
|
156
jecs/addons/observers.luau
Normal file
156
jecs/addons/observers.luau
Normal file
|
@ -0,0 +1,156 @@
|
||||||
|
local jecs = require("@jecs")
|
||||||
|
|
||||||
|
type Observer<T...> = {
|
||||||
|
callback: (jecs.Entity) -> (),
|
||||||
|
query: jecs.Query<T...>,
|
||||||
|
}
|
||||||
|
|
||||||
|
export type PatchedWorld = jecs.World & {
|
||||||
|
added: (PatchedWorld, jecs.Id, (e: jecs.Entity, id: jecs.Id, value: any) -> ()) -> (),
|
||||||
|
removed: (PatchedWorld, jecs.Id, (e: jecs.Entity, id: jecs.Id) -> ()) -> (),
|
||||||
|
changed: (PatchedWorld, jecs.Id, (e: jecs.Entity, id: jecs.Id) -> ()) -> (),
|
||||||
|
observer: (PatchedWorld, Observer<any>) -> (),
|
||||||
|
monitor: (PatchedWorld, Observer<any>) -> (),
|
||||||
|
}
|
||||||
|
|
||||||
|
local function observers_new(world, description)
|
||||||
|
local query = description.query
|
||||||
|
local callback = description.callback
|
||||||
|
local terms = query.filter_with :: { jecs.Id }
|
||||||
|
if not terms then
|
||||||
|
local ids = query.ids
|
||||||
|
query.filter_with = ids
|
||||||
|
terms = ids
|
||||||
|
end
|
||||||
|
|
||||||
|
local entity_index = world.entity_index :: any
|
||||||
|
local function emplaced(entity: jecs.Entity)
|
||||||
|
local r = jecs.entity_index_try_get_fast(
|
||||||
|
entity_index, entity :: any)
|
||||||
|
|
||||||
|
if not r then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local archetype = r.archetype
|
||||||
|
|
||||||
|
if jecs.query_match(query, archetype) then
|
||||||
|
callback(entity)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, term in terms do
|
||||||
|
world:added(term, emplaced)
|
||||||
|
world:changed(term, emplaced)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function monitors_new(world, description)
|
||||||
|
local query = description.query
|
||||||
|
local callback = description.callback
|
||||||
|
local terms = query.filter_with :: { jecs.Id }
|
||||||
|
if not terms then
|
||||||
|
local ids = query.ids
|
||||||
|
query.filter_with = ids
|
||||||
|
terms = ids
|
||||||
|
end
|
||||||
|
|
||||||
|
local entity_index = world.entity_index :: any
|
||||||
|
local function emplaced(entity: jecs.Entity)
|
||||||
|
local r = jecs.entity_index_try_get_fast(
|
||||||
|
entity_index, entity :: any)
|
||||||
|
|
||||||
|
if not r then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local archetype = r.archetype
|
||||||
|
|
||||||
|
if jecs.query_match(query, archetype) then
|
||||||
|
callback(entity, jecs.OnAdd)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function removed(entity: jecs.Entity, component: jecs.Id)
|
||||||
|
local r = jecs.entity_index_try_get_fast(
|
||||||
|
entity_index, entity :: any)
|
||||||
|
|
||||||
|
if not r then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local archetype = r.archetype
|
||||||
|
|
||||||
|
if jecs.query_match(query, archetype) then
|
||||||
|
callback(entity, jecs.OnRemove)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, term in terms do
|
||||||
|
world:added(term, emplaced)
|
||||||
|
world:removed(term, removed)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local function observers_add(world: jecs.World & { [string]: any }): PatchedWorld
|
||||||
|
local signals = {
|
||||||
|
added = {},
|
||||||
|
emplaced = {},
|
||||||
|
removed = {}
|
||||||
|
}
|
||||||
|
|
||||||
|
world.added = function(_, component, fn)
|
||||||
|
local listeners = signals.added[component]
|
||||||
|
if not listeners then
|
||||||
|
listeners = {}
|
||||||
|
signals.added[component] = listeners
|
||||||
|
local idr = jecs.id_record_ensure(world, component)
|
||||||
|
idr.hooks.on_add = function(entity)
|
||||||
|
for _, listener in listeners do
|
||||||
|
listener(entity, component)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
table.insert(listeners, fn)
|
||||||
|
end
|
||||||
|
|
||||||
|
world.changed = function(_, component, fn)
|
||||||
|
local listeners = signals.emplaced[component]
|
||||||
|
if not listeners then
|
||||||
|
listeners = {}
|
||||||
|
signals.emplaced[component] = listeners
|
||||||
|
local idr = jecs.id_record_ensure(world, component)
|
||||||
|
idr.hooks.on_change = function(entity, value)
|
||||||
|
for _, listener in listeners do
|
||||||
|
listener(entity, component, value)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
table.insert(listeners, fn)
|
||||||
|
end
|
||||||
|
|
||||||
|
world.removed = function(_, component, fn)
|
||||||
|
local listeners = signals.removed[component]
|
||||||
|
if not listeners then
|
||||||
|
listeners = {}
|
||||||
|
signals.removed[component] = listeners
|
||||||
|
local idr = jecs.id_record_ensure(world, component)
|
||||||
|
idr.hooks.on_remove = function(entity)
|
||||||
|
for _, listener in listeners do
|
||||||
|
listener(entity, component)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
table.insert(listeners, fn)
|
||||||
|
end
|
||||||
|
|
||||||
|
world.signals = signals
|
||||||
|
|
||||||
|
world.observer = observers_new
|
||||||
|
|
||||||
|
world.monitor = monitors_new
|
||||||
|
|
||||||
|
return world
|
||||||
|
end
|
||||||
|
|
||||||
|
return observers_add
|
|
@ -1,2 +1,2 @@
|
||||||
modified = [".luaurc", "jecs.luau"]
|
modified = ["addons/observers.luau", ".luaurc", "CHANGELOG.md", "jecs.luau"]
|
||||||
version = "0.5.5-nightly.20250312T202956Z"
|
version = "0.5.5-nightly.20250413T001101Z"
|
||||||
|
|
1249
jecs/jecs.luau
1249
jecs/jecs.luau
File diff suppressed because it is too large
Load diff
|
@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "marked/jecs_nightly"
|
name = "marked/jecs_nightly"
|
||||||
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
||||||
version = "0.5.5-nightly.20250312T202956Z"
|
version = "0.5.5-nightly.20250413T001101Z"
|
||||||
|
|
||||||
[indices]
|
[indices]
|
||||||
default = "https://github.com/pesde-pkg/index"
|
default = "https://github.com/pesde-pkg/index"
|
||||||
|
|
|
@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "marked/jecs_nightly"
|
name = "marked/jecs_nightly"
|
||||||
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
||||||
version = "0.5.5-nightly.20250312T202956Z"
|
version = "0.5.5-nightly.20250413T001101Z"
|
||||||
|
|
||||||
[indices]
|
[indices]
|
||||||
default = "https://github.com/pesde-pkg/index"
|
default = "https://github.com/pesde-pkg/index"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
passed = true
|
passed = true
|
||||||
timestamp = "20250324T001101Z"
|
timestamp = "20250413T001103Z"
|
||||||
|
|
|
@ -1,22 +1,39 @@
|
||||||
271 272 273
|
----idempotent
|
||||||
---------------- delete e2 ---------------
|
1_2
|
||||||
"268439800_268439816_536875256_536875272"
|
[38;1m7.4[0m [33;1mus[0m [38;1m 2[0m [33;1mkB[0m[38;1m│[0m [38;1mdelete children of entity[0m
|
||||||
"268439800_268439816_536875256"
|
[38;1m9.5[0m [33;1mus[0m [38;1m 1[0m [33;1mkB[0m[38;1m│[0m [38;1mremove friends of entity[0m
|
||||||
"268439816_536875272"
|
[38;1m352[0m [32;1mns[0m [38;1m 0[0m [32;1m B[0m[38;1m│[0m [38;1msimple deletion of entity[0m
|
||||||
"268439816"
|
[37;1mworld:add()[0m
|
||||||
-----------------------------
|
[32;1mPASS[0m[38;1m│[0m [38;1midempotent[0m
|
||||||
{}
|
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
||||||
[38;1m7.7[0m [33;1mus[0m [38;1m 2[0m [33;1mkB[0m[38;1m│[0m [38;1mdelete children of entity[0m
|
|
||||||
[38;1m 11[0m [33;1mus[0m [38;1m 2[0m [33;1mkB[0m[38;1m│[0m [38;1mremove friends of entity[0m
|
|
||||||
[38;1m321[0m [32;1mns[0m [38;1m 0[0m [32;1m B[0m[38;1m│[0m [38;1msimple deletion of entity[0m
|
|
||||||
removing
|
|
||||||
[37;1m#repro[0m
|
|
||||||
[38;5;208mNONE[0m[38;1m│[0m [38;1m[0m
|
|
||||||
|
|
||||||
[37;1marchetype[0m
|
[37;1mworld:children()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||||
|
|
||||||
[37;1mworld:cleanup()[0m
|
[37;1mworld:clear()[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould remove its components[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mremove cleared ID from entities[0m
|
||||||
|
|
||||||
|
[37;1mworld:component()[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1monly components should have EcsComponent trait[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mtag[0m
|
||||||
|
|
||||||
|
[37;1mworld:contains()[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould not exist after delete[0m
|
||||||
|
|
||||||
|
[37;1mworld:delete()[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1minvoke OnRemove hooks[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mdelete recycled entity id used as component[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mbug: Empty entity does not respect cleanup policy[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow deleting components[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mdelete entities using another Entity as component with Delete cleanup action[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mdelete children[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mremove deleted ID from entities[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mfast delete[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mcycle[0m
|
||||||
|
|
||||||
|
[37;1mworld:each()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||||
|
|
||||||
[37;1mworld:entity()[0m
|
[37;1mworld:entity()[0m
|
||||||
|
@ -26,16 +43,9 @@ removing
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mRecycling[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mRecycling[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mRecycling max generation[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mRecycling max generation[0m
|
||||||
|
|
||||||
[37;1mworld:set()[0m
|
[37;1mworld:has()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould find Tag on entity[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mpairs[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould return false when missing one tag[0m
|
||||||
|
|
||||||
[37;1mworld:remove()[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow remove a component that doesn't exist on entity[0m
|
|
||||||
|
|
||||||
[37;1mworld:add()[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1midempotent[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
|
||||||
|
|
||||||
[37;1mworld:query()[0m
|
[37;1mworld:query()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mcached[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mcached[0m
|
||||||
|
@ -52,51 +62,35 @@ removing
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow wildcards in queries[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow wildcards in queries[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould match against multiple pairs[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould match against multiple pairs[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould only relate alive entities[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould only relate alive entities[0m
|
||||||
[38;5;208mNONE[0m[38;1m│[0m [38;1mshould error when setting invalid pair[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould error when setting invalid pair[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould find target for ChildOf[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould find target for ChildOf[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mdespawning while iterating[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mdespawning while iterating[0m
|
||||||
[38;5;208mNONE[0m[38;1m│[0m [38;1miterator invalidation[0m
|
|
||||||
[33;1mSKIP[0m[38;1m│[0m [38;1madding[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mspawning[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould not find any entities[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould not find any entities[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mwithout[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mworld:query():without()[0m
|
||||||
|
|
||||||
[37;1mworld:each[0m
|
[37;1mworld:remove()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow remove a component that doesn't exist on entity[0m
|
||||||
|
|
||||||
[37;1mworld:children[0m
|
[37;1mworld:set()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1mpairs[0m
|
||||||
[37;1mworld:clear()[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould remove its components[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould move last record[0m
|
|
||||||
|
|
||||||
[37;1mworld:has()[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould find Tag on entity[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould return false when missing one tag[0m
|
|
||||||
|
|
||||||
[37;1mworld:component()[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1monly components should have EcsComponent trait[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mtag[0m
|
|
||||||
|
|
||||||
[37;1mworld:delete[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1minvoke OnRemove hooks[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete recycled entity id used as component[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mbug: Empty entity does not respect cleanup policy[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow deleting components[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete entities using another Entity as component with Delete cleanup action[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete children[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mfast delete[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mcycle[0m
|
|
||||||
|
|
||||||
[37;1mworld:target[0m
|
[37;1mworld:target[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mnth index[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mnth index[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1minfer index when unspecified[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1minfer index when unspecified[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mloop until no target[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mloop until no target[0m
|
||||||
|
|
||||||
[37;1mworld:contains[0m
|
[37;1m#adding a recycled target[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||||
|
|
||||||
|
[37;1m#repro2[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||||
|
|
||||||
|
[37;1manother[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||||
|
|
||||||
|
[37;1m#repro[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould not exist after delete[0m
|
|
||||||
|
|
||||||
[37;1mHooks[0m
|
[37;1mHooks[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mOnAdd[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mOnAdd[0m
|
||||||
|
@ -121,5 +115,5 @@ removing
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m#2[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1m#2[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m#3[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1m#3[0m
|
||||||
|
|
||||||
[38;1m69/69 test cases passed in 31.149 ms.[0m
|
[38;1m68/68 test cases passed in 29.621 ms.[0m
|
||||||
[32;1m0 fails[0m
|
[32;1m0 fails[0m
|
||||||
|
|
|
@ -5,4 +5,4 @@ license = "MIT"
|
||||||
name = "mark-marks/jecs-nightly"
|
name = "mark-marks/jecs-nightly"
|
||||||
realm = "shared"
|
realm = "shared"
|
||||||
registry = "https://github.com/UpliftGames/wally-index"
|
registry = "https://github.com/UpliftGames/wally-index"
|
||||||
version = "0.5.5-nightly.20250312T202956Z"
|
version = "0.5.5-nightly.20250413T001101Z"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue