2018-05-26 07:49:37 +00:00
|
|
|
version(1);
|
|
|
|
project_name = "4coder";
|
|
|
|
patterns = {
|
|
|
|
"*.c",
|
|
|
|
"*.cpp",
|
|
|
|
"*.h",
|
|
|
|
"*.m",
|
|
|
|
"*.bat",
|
|
|
|
"*.sh",
|
|
|
|
"*.4coder",
|
|
|
|
"*.txt",
|
|
|
|
};
|
|
|
|
blacklist_patterns = {
|
|
|
|
".*",
|
|
|
|
};
|
|
|
|
load_paths_only = { {"."}, };
|
|
|
|
load_paths = {
|
|
|
|
{load_paths_only, .os = "win"},
|
|
|
|
{load_paths_only, .os = "linux"},
|
|
|
|
{load_paths_only, .os = "mac"},
|
|
|
|
};
|
2017-02-06 13:49:00 +00:00
|
|
|
|
2018-05-20 04:44:20 +00:00
|
|
|
build_x86_win32 = "echo build: x86 & build.bat /DDEV_BUILD_X86";
|
|
|
|
build_x86_linux = "echo build: x86 & ./build.sh -DDEV_BUILD_X86";
|
|
|
|
build_x86_mac = "echo build: x86 & ./build.sh -DDEV_BUILD_X86";
|
2018-05-07 02:47:22 +00:00
|
|
|
|
2018-05-26 07:49:37 +00:00
|
|
|
command_list = {
|
|
|
|
{ .name = "build x64",
|
|
|
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
|
|
|
.cmd = { {"echo build: x64 & build.bat" , .os = "win" },
|
|
|
|
{"echo build: x64 & ./build.sh", .os = "linux"},
|
|
|
|
{"echo build: x64 & ./build.sh", .os = "mac" }, }, },
|
|
|
|
{ .name = "build site",
|
|
|
|
.out = "*site*", .footer_panel = false, .save_dirty_files = true,
|
|
|
|
.cmd = { {"build_site.bat", .os = "win" },
|
|
|
|
{"build_site.sh" , .os = "linux"},
|
|
|
|
{"build_site.sh" , .os = "mac" }, }, },
|
|
|
|
{ .name = "build string",
|
|
|
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
|
|
|
.cmd = { {"build_string.bat", .os = "win" },
|
|
|
|
{"build_string.sh" , .os = "linux"},
|
|
|
|
{"build_string.sh" , .os = "mac" }, }, },
|
|
|
|
{ .name = "build x86",
|
|
|
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
|
|
|
.cmd = { {build_x86_win32, .os = "win" },
|
|
|
|
{build_x86_linux, .os = "linux"},
|
|
|
|
{build_x86_mac , .os = "mac" }, }, },
|
|
|
|
{ .name = "build metadata",
|
|
|
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
|
|
|
.cmd = { {"build_metadata.bat", .os = "win" },
|
|
|
|
{"build_metadata.sh" , .os = "linux"},
|
|
|
|
{"build_metadata.sh" , .os = "mac" }, }, },
|
|
|
|
{ .name = "package",
|
|
|
|
.out = "*package*", .footer_panel = false, .save_dirty_files = true,
|
|
|
|
.cmd = { {"package.bat", .os = "win" },
|
|
|
|
{"package.sh" , .os = "linux"},
|
|
|
|
{"package.sh" , .os = "mac" }, }, },
|
|
|
|
};
|
2017-02-06 13:49:00 +00:00
|
|
|
|
2018-05-26 07:49:37 +00:00
|
|
|
fkey_command[1] = "build x64";
|
|
|
|
fkey_command[2] = "build site";
|
|
|
|
fkey_command[3] = "build string";
|
|
|
|
fkey_command[4] = "build x86";
|
|
|
|
fkey_command[5] = "build metadata";
|
|
|
|
fkey_command[12] = "package";
|
2017-11-07 21:35:26 +00:00
|
|
|
|