52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"stages": [
|
|
{
|
|
"name": "keyword",
|
|
"executor": {
|
|
"name": "sandbox",
|
|
"with": {
|
|
"default": {
|
|
"args": ["cpplint", "--recursive", "."],
|
|
"env": ["PATH=/usr/bin:/bin:/usr/local/bin"],
|
|
"cpuLimit": 10000000000,
|
|
"memoryLimit": 104857600,
|
|
"procLimit": 50,
|
|
"copyInDir": ".",
|
|
"copyOut": ["stdout", "stderr"],
|
|
"stdin": {
|
|
"content": ""
|
|
},
|
|
"stdout": {
|
|
"name": "stdout",
|
|
"max": 65536
|
|
},
|
|
"stderr": {
|
|
"name": "stderr",
|
|
"max": 65536
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parser": {
|
|
"name": "keyword",
|
|
"with": {
|
|
"fullScore": 100,
|
|
"minScore": 0,
|
|
"files": ["stderr"],
|
|
"endOnMatch": true,
|
|
"matches": [
|
|
{
|
|
"keywords": ["[legal/copyright]"],
|
|
"score": 5
|
|
},
|
|
{
|
|
"keywords": ["[runtime/references]"],
|
|
"score": 2
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|