forked from pablo-1610/ncs_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fxmanifest.lua
108 lines (94 loc) · 2.15 KB
/
fxmanifest.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
use_fxv2_oal 'yes'
description 'NextCitizen, a powerful FiveM framework RolePlay-Based'
version '1.0.0-alpha'
--[[
Localization
]]
shared_scripts {
"src/localization/core/*.lua",
}
files {
"src/localization/locales/*.lua",
}
--[[
NCS Main
]]
shared_scripts {
-- NCS Core
"src/core/shared.lua",
"src/core/events/shared/*.lua",
-- NCS Constant
"src/constant/*.lua",
-- NCS Enum
"src/enum/*.lua",
-- NCS Class
"src/class/**/shared/_constructor.lua",
"src/class/**/shared/functions/*.lua",
-- NCS Api
"src/api/**/_define.lua",
"src/api/**/shared/*.lua",
-- NCS Modules
"src/modules/**/_define.lua",
"src/modules/**/shared/*.lua",
"src/modules/**/shared/functions/*.lua",
"src/modules/**/shared/events/*.lua",
"src/modules/**/shared/tasks/*.lua",
}
server_scripts {
-- Vendors
"src/vendors/oxmysql/oxmysql.js",
-- NCS Core
"src/core/server.lua",
"src/core/events/server/*.lua",
-- NCS Class
"src/class/**/server/_constructor.lua",
"src/class/**/server/functions/*.lua",
-- NCS API
"src/api/**/server/*.lua",
-- NCS Modules
"src/modules/**/server/*.lua",
"src/modules/**/server/functions/*.lua",
"src/modules/**/server/events/*.lua",
"src/modules/**/server/tasks/*.lua"
}
client_scripts {
-- NCS Core
"src/core/client.lua",
"src/core/events/client/*.lua",
-- NCS Class
"src/class/**/client/_constructor.lua",
"src/class/**/client/functions/*.lua",
-- NCS API
"src/api/**/client/*.lua",
-- NCS Modules
"src/modules/**/client/*.lua",
"src/modules/**/client/functions/*.lua",
"src/modules/**/client/events/*.lua",
"src/modules/**/client/tasks/*.lua"
}
--[[
Post NCS Load
]]
shared_scripts {
-- NCS Export
"src/core/export.lua",
"src/api/**/_export.lua",
"src/modules/**/_export.lua",
}
--[[
Web files
]]
ui_page "src/web/dist/index.html"
files {
"src/web/dist/index.html",
"src/web/dist/**/*"
}
--[[
Testing files
]]
server_script "test/server.lua"
client_script "test/client.lua"
shared_script "test/shared.lua"