-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgreed.conf
54 lines (41 loc) · 1.31 KB
/
greed.conf
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
greed {
codeRoot = "tc"
logging.logLevel = DEBUG
language {
cpp {
templates = [ filetest, problem-desc, testcase, cmk, cpptemplate ]
}
}
shared {
templateDef {
cmk {
override = false
outputFile = "${Problem.Name}/CMakeLists.txt"
templateFile = "CMakeLists.txt.tmpl"
dependencies = [ key(a) | cpptemplate ]
afterFileGen {
execute = /run/current-system/sw/bin/cmake
arguments = ["${Problem.Name}"]
}
}
testcase.outputFile = "${Problem.Name}/${Problem.Name}.sample"
problem-desc{
outputFile = "${Problem.Name}/${Problem.Name}.html"
afterFileGen {
execute = /etc/profiles/per-user/luis/bin/firefox
arguments = ["${GeneratedFilePath}"]
}
}
cpptemplate{
override = true
outputFile = "${Problem.Name}/${Problem.Name}.cpp"
templateFile = "template.cpp.tmpl"
dependencies = [ key(a) | filetest ]
afterFileGen {
execute = /run/current-system/sw/bin/emacs
arguments = ["${GeneratedFilePath}" ]
}
}
}
}
}