processus
Version:
A simple node workflow engine
28 lines (26 loc) • 731 B
JSON
{
"name": "jshint testing workflow",
"description": "A workflow that jshint for Processus directories",
"parameters" : {
"test1": "./node_modules/jshint/bin/jshint ./engine",
"test2": "./node_modules/jshint/bin/jshint ./taskhandlers"
},
"tasks":{
"run jshint for engine": {
"description": "run jshint for engine",
"blocking": true,
"handler" : "../taskhandlers/execHandler",
"parameters": {
"cmd": "$[parameters.test1]"
}
},
"run jshint for taskhandlers": {
"description": "run jshint for taskhandlers",
"blocking": true,
"handler" : "../taskhandlers/execHandler",
"parameters": {
"cmd": "$[parameters.test2]"
}
}
}
}