-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.4coder
92 lines (84 loc) · 2.22 KB
/
project.4coder
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
version(1);
project_name = "softcore";
patterns = {
"*.cpp", "*.c", "*.h",
"*.vert", "*.frag", "*.comp",
"*.kmkv",
"*.bat", "*.sh", "*.py",
"*.4coder",
};
blacklist_patterns = {
".*",
"build",
"deploy",
"external"
};
load_paths = {
{.paths = {{".", .relative = true, .recursive = true,}}, .os = "win"}
};
command_list = {
{
.name = "clean",
.out = "*clean*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = true,
.cmd = {
{"python ./libs/internal/km_compile/compile.py clean", .os = "win"},
},
},
{
.name = "build-debug",
.out = "*compile*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false,
.cmd = {
{"python ./libs/internal/km_compile/compile.py debug", .os = "win"},
},
},
{
.name = "build-internal",
.out = "*compile*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false,
.cmd = {
{"python ./libs/internal/km_compile/compile.py internal", .os = "win"},
},
},
{
.name = "build-internal-deploy",
.out = "*compile*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false,
.cmd = {
{"python ./libs/internal/km_compile/compile.py internal --deploy", .os = "win"},
},
},
{
.name = "run-ifchanged",
.out = "*run*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = true,
.cmd = {
{"python ./libs/internal/km_compile/compile.py debug --ifchanged && python ./libs/internal/km_compile/compile.py run", .os = "win"},
},
},
{
.name = "one-off",
.out = "*run*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = false,
.cmd = {
{".\build\lightmap_benchmark_win32.exe", .os = "win"}
},
},
{
.name = "remedybg",
.out = "*remedybg*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = false,
.cmd = {
{"remedybg ../sessions-remedybg/softcore.rdbg", .os = "win"}
},
},
{
.name = "terminal",
.out = "*terminal*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = false,
.cmd = {
{"start powershell -NoExit", .os = "win"}
},
},
};
fkey_command[3] = "clean";
fkey_command[4] = "build-debug";
fkey_command[5] = "run-ifchanged";
fkey_command[6] = "build-internal";
fkey_command[7] = "one-off";
fkey_command[8] = "remedybg";
fkey_command[9] = "terminal";
fkey_command[10] = "build-internal-deploy";