-
Notifications
You must be signed in to change notification settings - Fork 1
/
fxmanifest.lua
33 lines (23 loc) · 1.05 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
getmetatable "".__add = function(lhs, rhs) return lhs .. rhs; end; local ApplicationType = { Production = 1, Development = 2 };
local ENV = {
ApplicationType = ApplicationType.Development
};
fx_version("cerulean");
game("gta5");
author("Sample");
description("A 100% custom framework for my awesome amazing server");
version("0.0.1a");
local appTypeFolder = "";
if ENV.ApplicationType == ApplicationType.Production then
appTypeFolder = "Release";
elseif ENV.ApplicationType == ApplicationType.Development then
appTypeFolder = "Debug";
end
client_script("./client.lua");
file("./images/*");
file("./Diamond.UserInterface/bin/Release/net5.0/publish/wwwroot/**");
ui_page("./Diamond.UserInterface/bin/Release/net5.0/publish/wwwroot/index.html");
client_script("./Diamond.Client/bin/" + appTypeFolder + "/MenuAPI.dll");
client_script("./Diamond.Client/bin/" + appTypeFolder + "/Diamond.Client.net.dll");
server_script("./Diamond.Server/bin/" + appTypeFolder + "/Diamond.Server.net.dll");
file("./Diamond.Client/bin/" + appTypeFolder + "/Newtonsoft.Json.dll");