summaryrefslogtreecommitdiffstats
path: root/project.4coder
blob: 3c51d7cf1a62af30b5fa6fe388bad5412083f967 (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
52
53
54
55
56
57
58
version(2);
project_name = "compiler";

patterns = {
 "*.c",
 "*.cpp",
 "*.h",
 "*.m",
 "*.bat",
 "*.sh",
 "*.4coder",
 "*.jr",
};

blacklist_patterns = {
 ".*",
};

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

linux_paths = {
 { "./source/code", .relative = true, .recursive = true, },
 { "./source/base", .relative = true, .recursive = true, },
 { "/usr/include",  .relative = false, .recursive = false, },
};

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

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

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