Fixed the new project command, fixed the 4coder unix project commands
This commit is contained in:
parent
5e7e7bceba
commit
8b52c39bab
|
@ -1300,11 +1300,11 @@ project_generate_project_4coder_file(Partition *scratch,
|
||||||
fprintf(out, "command_list = {\n");
|
fprintf(out, "command_list = {\n");
|
||||||
fprintf(out, " { .name = \"build\",\n");
|
fprintf(out, " { .name = \"build\",\n");
|
||||||
fprintf(out, " .out = \"*compilation*\", .footer_panel = true, .save_dirty_files = true,\n");
|
fprintf(out, " .out = \"*compilation*\", .footer_panel = true, .save_dirty_files = true,\n");
|
||||||
fprintf(out, " .cmd = { { \"%.*s.bat\", .os = \"win\" },\n",
|
fprintf(out, " .cmd = { { \"%.*s.bat\" , .os = \"win\" },\n",
|
||||||
script_file.size, script_file.str);
|
script_file.size, script_file.str);
|
||||||
fprintf(out, " { \"%.*s.sh\" , .os = \"linux\" },\n",
|
fprintf(out, " { \"./%.*s.sh\", .os = \"linux\" },\n",
|
||||||
script_file.size, script_file.str);
|
script_file.size, script_file.str);
|
||||||
fprintf(out, " { \"%.*s.sh\" , .os = \"mac\" }, }, },\n",
|
fprintf(out, " { \"./%.*s.sh\", .os = \"mac\" }, }, },\n",
|
||||||
script_file.size, script_file.str);
|
script_file.size, script_file.str);
|
||||||
fprintf(out, " { .name = \"run\",\n");
|
fprintf(out, " { .name = \"run\",\n");
|
||||||
fprintf(out, " .out = \"*run*\", .footer_panel = false, .save_dirty_files = false,\n");
|
fprintf(out, " .out = \"*run*\", .footer_panel = false, .save_dirty_files = false,\n");
|
||||||
|
|
|
@ -33,13 +33,13 @@ command_list = {
|
||||||
{ .name = "build site",
|
{ .name = "build site",
|
||||||
.out = "*site*", .footer_panel = false, .save_dirty_files = true,
|
.out = "*site*", .footer_panel = false, .save_dirty_files = true,
|
||||||
.cmd = { {"build_site.bat", .os = "win" },
|
.cmd = { {"build_site.bat", .os = "win" },
|
||||||
{"build_site.sh" , .os = "linux"},
|
{"./build_site.sh" , .os = "linux"},
|
||||||
{"build_site.sh" , .os = "mac" }, }, },
|
{"./build_site.sh" , .os = "mac" }, }, },
|
||||||
{ .name = "build string",
|
{ .name = "build string",
|
||||||
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
||||||
.cmd = { {"build_string.bat", .os = "win" },
|
.cmd = { {"build_string.bat", .os = "win" },
|
||||||
{"build_string.sh" , .os = "linux"},
|
{"./build_string.sh" , .os = "linux"},
|
||||||
{"build_string.sh" , .os = "mac" }, }, },
|
{"./build_string.sh" , .os = "mac" }, }, },
|
||||||
{ .name = "build x86",
|
{ .name = "build x86",
|
||||||
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
||||||
.cmd = { {build_x86_win32, .os = "win" },
|
.cmd = { {build_x86_win32, .os = "win" },
|
||||||
|
@ -48,18 +48,18 @@ command_list = {
|
||||||
{ .name = "build metadata",
|
{ .name = "build metadata",
|
||||||
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
||||||
.cmd = { {"build_metadata.bat", .os = "win" },
|
.cmd = { {"build_metadata.bat", .os = "win" },
|
||||||
{"build_metadata.sh" , .os = "linux"},
|
{"./build_metadata.sh" , .os = "linux"},
|
||||||
{"build_metadata.sh" , .os = "mac" }, }, },
|
{"./build_metadata.sh" , .os = "mac" }, }, },
|
||||||
{ .name = "package",
|
{ .name = "package",
|
||||||
.out = "*package*", .footer_panel = false, .save_dirty_files = true,
|
.out = "*package*", .footer_panel = false, .save_dirty_files = true,
|
||||||
.cmd = { {"package.bat", .os = "win" },
|
.cmd = { {"package.bat", .os = "win" },
|
||||||
{"package.sh" , .os = "linux"},
|
{"./package.sh" , .os = "linux"},
|
||||||
{"package.sh" , .os = "mac" }, }, },
|
{"./package.sh" , .os = "mac" }, }, },
|
||||||
{ .name = "build config parser generator",
|
{ .name = "build config parser generator",
|
||||||
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
||||||
.cmd = { {"build_config_parser_generator.bat", .os = "win" },
|
.cmd = { {"build_config_parser_generator.bat", .os = "win" },
|
||||||
{"build_config_parser_generator.sh" , .os = "linux"},
|
{"./build_config_parser_generator.sh" , .os = "linux"},
|
||||||
{"build_config_parser_generator.sh" , .os = "mac" }, }, },
|
{"./build_config_parser_generator.sh" , .os = "mac" }, }, },
|
||||||
{ .name = "generate config parser",
|
{ .name = "generate config parser",
|
||||||
.out = "*gen*", .footer_panel = false, .save_dirty_files = true,
|
.out = "*gen*", .footer_panel = false, .save_dirty_files = true,
|
||||||
.cmd = { {"..\\build\\generate_config_parser", .os = "win" },
|
.cmd = { {"..\\build\\generate_config_parser", .os = "win" },
|
||||||
|
|
Loading…
Reference in New Issue