File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,6 @@ ROOT = fs.path(util.expandPath(rootPath))
3434LOGPATH = LOGPATH and util .expandPath (LOGPATH ) or (ROOT :string () .. ' /log' )
3535METAPATH = METAPATH and util .expandPath (METAPATH ) or (ROOT :string () .. ' /meta' )
3636
37- if _G [' VERSION' ] then
38- print (version .getVersion ())
39- return
40- end
41-
4237--- @diagnostic disable-next-line : deprecated
4338debug.setcstacklimit (200 )
4439-- collectgarbage('generational', 5, 25)
@@ -53,6 +48,8 @@ log.debug('LOGPATH:', LOGPATH)
5348log .debug (' METAPATH:' , METAPATH )
5449log .debug (' VERSION:' , version .getVersion ())
5550
51+ require ' ci'
52+
5653require ' tracy'
5754
5855xpcall (dofile , log .debug , (ROOT / ' debugger.lua' ):string ())
Original file line number Diff line number Diff line change 1+ if _G [' VERSION' ] then
2+ require ' ci.version'
3+ os.exit (0 , true )
4+ end
Original file line number Diff line number Diff line change 1+ local version = require ' version'
2+ print (version .getVersion ())
You can’t perform that action at this time.
0 commit comments