File tree Expand file tree Collapse file tree 3 files changed +21
-10
lines changed Expand file tree Collapse file tree 3 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 1+ version_MAJOR = 1
2+ version_MINOR = 0
3+ version_PATCH = 1
4+ version_TAG = " beta"
5+ print (
6+ ((((((" Trailers Reborn " .. tostring (version_MAJOR )) .. " ." ) .. tostring (version_MINOR )) .. " ." ) .. tostring (version_PATCH )) .. " -" ) .. tostring (version_TAG )
7+ )
18AddCSLuaFile ()
29if SERVER then
310 include (" TR/sv_init.lua" )
411 AddCSLuaFile (" TR/cl_init.lua" )
512 include (" TR/sh_deprecated.lua" )
6- elseif CLIENT then
13+ else
714 include (" TR/cl_init.lua" )
815end
Original file line number Diff line number Diff line change 1+ const version_MAJOR = 1
2+ const version_MINOR = 0
3+ const version_PATCH = 1
4+ const version_TAG = "beta"
5+
6+
7+ print ( "Trailers Reborn " + version_MAJOR + "." + version_MINOR + "." + version_PATCH + "-" + version_TAG )
8+
9+
110AddCSLuaFile ( )
211if ( SERVER ) {
312 include ( "TR/sv_init.lua" )
413 AddCSLuaFile ( "TR/cl_init.lua" )
514 include ( "TR/sh_deprecated.lua" )
6- } else if ( CLIENT ) {
15+ } else {
716 include ( "TR/cl_init.lua" )
817}
Original file line number Diff line number Diff line change 88 " @glua-addon-types/flex/index" ,
99 " @glua-addon-types/glua-types/typings/garrysmod"
1010 ],
11- "module" : " commonjs" , // commonjs
11+ "module" : " commonjs" ,
1212 "charset" : " UTF8" ,
1313 "rootDir" : " ./src" ,
1414 "outDir" : " ./lua" ,
1515 "declaration" : false ,
1616 "sourceMap" : false ,
17- "skipLibCheck" : true , // FAST AF BOI
18- // "allowSyntheticDefaultImports": true,
19- // "esModuleInterop": true, // import
17+ "skipLibCheck" : true , // faster
2018 "strict" : true ,
2119 "removeComments" : true
2220 },
2321 "tstl" : {
24- "luaTarget" : " 5.2" , // 5.2
25- // "luaBundleEntry": "src/autorun/server/simfphys_trailers_reborn.ts",
26- // "luaBundle": "lua/bundle.lua",
22+ "luaTarget" : " 5.2" ,
2723 "noHeader" : true ,
2824 // if true, BadCoderZ is broken
2925 "sourceMapTraceback" : false ,
3026 "luaLibImport" : " inline"
31- // "luaLibImport": "require" // for bundle
3227 },
3328 "exclude" : [
3429 " node_modules"
You can’t perform that action at this time.
0 commit comments