-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdub.json
More file actions
29 lines (29 loc) · 915 Bytes
/
dub.json
File metadata and controls
29 lines (29 loc) · 915 Bytes
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
{
"name": "example_cpp",
"description": "Example C++ for DParserGen",
"authors": ["Tim Schendekehl"],
"license": "BSL-1.0",
"targetType": "executable",
"dependencies": {
"dparsergen:core": {
"version": "*",
"path": "../.."
},
"dparsergen:generator": {
"version": "*",
"path": "../.."
}
},
"sourceFiles": [
"testcpp.d",
"grammarcpreproc.d",
"grammarcpreproc_lexer.d",
"grammarcpp.d",
"grammarcpp_lexer.d"
],
"preBuildCommands": [
"\"$DUB\" run --root=../../ :generator -- grammarcpreproc.ebnf -o grammarcpreproc.d --lexer grammarcpreproc_lexer.d",
"\"$DUB\" run --root=../../ :generator -- grammarcpp.ebnf --glr --mergesimilarstates --optempty -o grammarcpp.d --lexer grammarcpp_lexer.d"
],
"buildRequirements": ["allowWarnings"]
}