This, for example, will not work:
files: {
'plato_reports/data': ['app/src/data/.js'],
'plato_reports/modules': ['app/src/modules/.js'],
'plato_reports/system': ['app/src/system/.js'],
'plato_reports/utils': ['app/src/utils/.js']
}
All output will be in plato_reports/data. Expected behavior was a different report for each entry in files.
Those could just be their own subtasks so I don't foresee ever implementing this. A PR would be considered but it wouldn't be a priority given alternate, obvious solutions.
https://github.com/jsoverson/grunt-plato/blob/master/tasks/plato.js#L58 runs plato with the output directory of the first entry in the files object.
This, for example, will not work: files: { 'plato_reports/data': ['app/src/data/.js'], 'plato_reports/modules': ['app/src/modules/.js'], 'plato_reports/system': ['app/src/system/.js'], 'plato_reports/utils': ['app/src/utils/.js'] }
All output will be in plato_reports/data. Expected behavior was a different report for each entry in files.