'description':nls.localize('JsonSchema.command','The command to be executed. Can be an external program or a shell command.')
},
'isShellCommand':{
'type':'boolean',
'default':true,
'description':nls.localize('JsonSchema.shell','Specifies whether the command is a shell command or an external program. Defaults to false if omitted.')
},
'args':{
'type':'array',
'description':nls.localize('JsonSchema.tasks.args','Arguments passed to the command when this task is invoked.'),
'items':{
'type':'string'
}
},
'options':{
'$ref':'#/definitions/options'
}
}
},
'taskDescription':{
'type':'object',
'required':['taskName'],
...
...
@@ -1356,6 +1381,18 @@ let schema: IJSONSchema =
'options':{
'$ref':'#/definitions/options'
},
'windows':{
'$ref':'#/definitions/commandConfiguration',
'description':nls.localize('JsonSchema.tasks.windows','Windows specific command configuration')
},
'osx':{
'$ref':'#/definitions/commandConfiguration',
'description':nls.localize('JsonSchema.tasks.mac','Mac specific command configuration')
},
'linux':{
'$ref':'#/definitions/commandConfiguration',
'description':nls.localize('JsonSchema.tasks.linux','Linux specific command configuration')
},
'suppressTaskName':{
'type':'boolean',
'description':nls.localize('JsonSchema.tasks.suppressTaskName','Controls whether the task name is added as an argument to the command. If omitted the globally defined value is used.'),