comparison 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
comparison
equal deleted inserted replaced
310:bc02d4925096 311:1c25cb99859f
56 development: { 56 development: {
57 files: [ 57 files: [
58 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['img/**']}, 58 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['img/**']},
59 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['js/**']}, 59 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['js/**']},
60 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['tpl/**']}, 60 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['tpl/**']},
61 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['json/**']},
61 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['bootstrap/js/*.js']}, 62 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['bootstrap/js/*.js']},
62 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['bootstrap/fonts/**']} 63 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['bootstrap/fonts/**']}
63 ] 64 ]
64 }, 65 },
65 dev_scripts: { 66 dev_scripts: {
67 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['js/wikked.js', 'js/wikked/**']} 68 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['js/wikked.js', 'js/wikked/**']}
68 ] 69 ]
69 }, 70 },
70 dev_templates: { 71 dev_templates: {
71 files: [ 72 files: [
72 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['tpl/**']} 73 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['tpl/**']},
74 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['json/**']}
73 ] 75 ]
74 }, 76 },
75 production: { 77 production: {
76 files: [ 78 files: [
77 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['js/require.js']}, 79 {expand: true, cwd: 'wikked/assets/', dest: 'wikked/static/', src: ['js/require.js']},
87 scripts: { 89 scripts: {
88 files: ['wikked/assets/js/wikked.js', 'wikked/assets/js/wikked/**'], 90 files: ['wikked/assets/js/wikked.js', 'wikked/assets/js/wikked/**'],
89 tasks: ['jshint:all', 'copy:dev_scripts'] 91 tasks: ['jshint:all', 'copy:dev_scripts']
90 }, 92 },
91 templates: { 93 templates: {
92 files: ['wikked/assets/tpl/**/*.html'], 94 files: ['wikked/assets/tpl/**/*.html', 'wikked/assets/json/**/*.json'],
93 tasks: ['copy:dev_templates'] 95 tasks: ['copy:dev_templates']
94 }, 96 },
95 styles: { 97 styles: {
96 files: ['wikked/assets/css/**/*.less'], 98 files: ['wikked/assets/css/**/*.less'],
97 tasks: ['less:development'] 99 tasks: ['less:development']