Skip to content

Commit

Permalink
1.0.1-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
SupinePandora43 committed Jul 21, 2020
1 parent f571291 commit 74fd3c3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
9 changes: 8 additions & 1 deletion lua/autorun/TR_init.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
version_MAJOR = 1
version_MINOR = 0
version_PATCH = 1
version_TAG = "beta"
print(
(((((("Trailers Reborn " .. tostring(version_MAJOR)) .. ".") .. tostring(version_MINOR)) .. ".") .. tostring(version_PATCH)) .. "-") .. tostring(version_TAG)
)
AddCSLuaFile()
if SERVER then
include("TR/sv_init.lua")
AddCSLuaFile("TR/cl_init.lua")
include("TR/sh_deprecated.lua")
elseif CLIENT then
else
include("TR/cl_init.lua")
end
11 changes: 10 additions & 1 deletion src/autorun/TR_init.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
const version_MAJOR = 1
const version_MINOR = 0
const version_PATCH = 1
const version_TAG = "beta"


print("Trailers Reborn " + version_MAJOR + "." + version_MINOR + "." + version_PATCH + "-" + version_TAG)


AddCSLuaFile()
if (SERVER) {
include("TR/sv_init.lua")
AddCSLuaFile("TR/cl_init.lua")
include("TR/sh_deprecated.lua")
} else if (CLIENT) {
} else {
include("TR/cl_init.lua")
}
11 changes: 3 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,22 @@
"@glua-addon-types/flex/index",
"@glua-addon-types/glua-types/typings/garrysmod"
],
"module": "commonjs", // commonjs
"module": "commonjs",
"charset": "UTF8",
"rootDir": "./src",
"outDir": "./lua",
"declaration": false,
"sourceMap": false,
"skipLibCheck": true, // FAST AF BOI
//"allowSyntheticDefaultImports": true,
//"esModuleInterop": true, // import
"skipLibCheck": true, // faster
"strict": true,
"removeComments": true
},
"tstl": {
"luaTarget": "5.2", // 5.2
//"luaBundleEntry": "src/autorun/server/simfphys_trailers_reborn.ts",
//"luaBundle": "lua/bundle.lua",
"luaTarget": "5.2",
"noHeader": true,
// if true, BadCoderZ is broken
"sourceMapTraceback": false,
"luaLibImport": "inline"
//"luaLibImport": "require" // for bundle
},
"exclude": [
"node_modules"
Expand Down

0 comments on commit 74fd3c3

Please sign in to comment.