From 0973002b716a701d5c5719aaf8d06bf3602c9356 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Tue, 25 Jun 2013 19:10:33 +0100 Subject: [PATCH] Updated grunt groc config, the documented way of listing files didn't work --- Gruntfile.js | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index a4dc6afb05..12b1d26606 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -132,27 +132,25 @@ var path = require('path'), }, groc: { - application: [ - "README.md", - "config.js", - "app.js", - "core/ghost.js", - "core/admin/assets/js/*.js", - "core/admin/assets/js/models/*.js", - "core/admin/assets/js/views/*.js", - "core/admin/controllers/*.js", - "core/frontend/controllers/*.js", - "core/frontend/filters/*.js", - "core/frontend/helpers/*.js", - "core/lang/i18n.js", - "core/shared/models/*.js", - "core/shared/permissions/*.js", - "core/shared/*.js", - "core/test/ghost/*.js", - "core/test/ghost.js" - ], - options: { - "out": "./docs/" + docs: { + options: { + "out": "./docs/", + "glob": [ + "README.md", + "config.js", + "app.js", + "core/ghost.js", + "core/admin/assets/js/*.js", + "core/admin/assets/js/**/*.js", + "core/admin/controllers/*.js", + "core/frontend/**/*.js", + "core/lang/i18n.js", + "core/shared/**/*.js", + "core/shared/*.js", + "core/test/**/*.js", + "core/test/ghost.js" + ] + } } },