Skip to content

Commit 74fd3c3

Browse files
1.0.1-beta
1 parent f571291 commit 74fd3c3

File tree

3 files changed

+21
-10
lines changed

3 files changed

+21
-10
lines changed

lua/autorun/TR_init.lua

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
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+
)
18
AddCSLuaFile()
29
if 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")
815
end

src/autorun/TR_init.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
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+
110
AddCSLuaFile()
211
if (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
}

tsconfig.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,22 @@
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"

0 commit comments

Comments
 (0)