mirror of
https://github.com/Ukendio/jecs.git
synced 2025-09-15 12:59:17 +00:00
add luaurc
This commit is contained in:
commit
68010b3b5f
4 changed files with 28 additions and 19 deletions
6
.luaurc
Normal file
6
.luaurc
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"aliases": {
|
||||||
|
"jecs": "C:/Users/Marcus/Documents/packages/jecs/src",
|
||||||
|
"testkit": "C:/Users/Marcus/Documents/packages/jecs/testkit"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,13 +1,16 @@
|
||||||
--!optimize 2
|
--!optimize 2
|
||||||
--!native
|
--!native
|
||||||
|
|
||||||
local testkit = require("../testkit")
|
local testkit = require("@testkit")
|
||||||
local BENCH, START = testkit.benchmark()
|
local BENCH, START = testkit.benchmark()
|
||||||
local function TITLE(title: string)
|
local function TITLE(title: string)
|
||||||
print()
|
print()
|
||||||
print(testkit.color.white(title))
|
print(testkit.color.white(title))
|
||||||
end
|
end
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> b73d7e12b79401f3c52303d4ae01166b720c75b1
|
||||||
local jecs = require("@jecs")
|
local jecs = require("@jecs")
|
||||||
local mirror = require("../mirror/init")
|
local mirror = require("../mirror/init")
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ local color = {
|
||||||
end,
|
end,
|
||||||
|
|
||||||
gray = function(s: string): string
|
gray = function(s: string): string
|
||||||
return if disable_ansi then s else `\27[30;1m{s}\27[0m`
|
return if disable_ansi then s else `\27[38;1m{s}\27[0m`
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local jecs = require("../lib/init")
|
local jecs = require("@jecs")
|
||||||
local testkit = require("../testkit")
|
local testkit = require("@testkit")
|
||||||
local __ = jecs.Wildcard
|
local __ = jecs.Wildcard
|
||||||
local ECS_ID, ECS_GENERATION = jecs.ECS_ID, jecs.ECS_GENERATION
|
local ECS_ID, ECS_GENERATION = jecs.ECS_ID, jecs.ECS_GENERATION
|
||||||
local ECS_GENERATION_INC = jecs.ECS_GENERATION_INC
|
local ECS_GENERATION_INC = jecs.ECS_GENERATION_INC
|
||||||
|
|
Loading…
Reference in a new issue