jsoverson / grunt-plato

Generate static analysis reports with plato through grunt
MIT License
205 stars 23 forks source link

Multiple output directories not supported #21

Closed nkpz closed 10 years ago

nkpz commented 10 years ago

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.

jsoverson commented 10 years ago

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.