Mercurial > wikked
diff Gruntfile.js @ 311:1c25cb99859f
Put all the special pages text in a JSON file.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 05 Oct 2014 07:37:44 -0700 |
parents | 825d05a9ee67 |
children | d19fbf3025e0 |
line wrap: on
line diff
--- a/Gruntfile.js Sat Oct 04 21:19:42 2014 -0700 +++ b/Gruntfile.js Sun Oct 05 07:37:44 2014 -0700 @@ -58,6 +58,7 @@ {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['img/**']}, {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['js/**']}, {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['tpl/**']}, + {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['json/**']}, {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['bootstrap/js/*.js']}, {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['bootstrap/fonts/**']} ] @@ -69,7 +70,8 @@ }, dev_templates: { files: [ - {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['tpl/**']} + {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['tpl/**']}, + {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['json/**']} ] }, production: { @@ -89,7 +91,7 @@ tasks: ['jshint:all', 'copy:dev_scripts'] }, templates: { - files: ['wikked/assets/tpl/**/*.html'], + files: ['wikked/assets/tpl/**/*.html', 'wikked/assets/json/**/*.json'], tasks: ['copy:dev_templates'] }, styles: {