aboutsummaryrefslogtreecommitdiffstats
path: root/project.4coder
blob: a3b63c494fabc4986c168a96044d9f383660623c (plain) (blame)
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
version(2);
project_name = "drift";

patterns = {
	"*.odin",
	"*.sh",
	"*.4coder",
};

blacklist_patterns = {
	".*",
};

paths = {
	{ "./source", .relative = true, .recursive = true, },
};

linux_paths = {
	{ "./source",                                   .relative = true,  .recursive = true,  },
	{ "/home/nasr/.local/share/odin/vendor/raylib", .relative = false, .recursive = false, },
};

load_paths = {
	.win   = paths,
	.linux = linux_paths,
	.mac   = linux_paths,
};

commands = {
	.build = {
		.linux            = "./build.sh",
		.mac              = "./build.sh",
		.out              = "*compilation*",
		.footer_panel     = false,
		.save_dirty_files = true,
		.cursor_at_end    = true,
	},
	.run = {
		.linux            = "./build/drift",
		.mac              = "./build/drift",
		.out              = "*compilation*",
		.footer_panel     = false,
		.save_dirty_files = true,
		.cursor_at_end    = true,
	},
};

fkey_command = {
	.F1 = "build",
	.F2 = "run",
};