diff --git a/tasks/dox.js b/tasks/dox.js index 3b53255..728e3cc 100644 --- a/tasks/dox.js +++ b/tasks/dox.js @@ -26,6 +26,12 @@ module.exports = function(grunt) { // Absolute path to the formatter var formatter = [doxPath, 'node_modules', '.bin', 'dox-foundation'].join(path.sep); + // fix for mac users. + if(process.platform === 'darwin'){ + formatter = 'dox-foundation'; + } + + // Cleanup any existing docs rimraf.sync(dest);