aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index a19f2940..e52cd16f 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -198,6 +198,13 @@ module.exports = function (grunt) {
198 src: ['./<%= releaseDir %>/*'], 198 src: ['./<%= releaseDir %>/*'],
199 } 199 }
200 }, 200 },
201 eslint: {
202 target: ['<%= appDir %>/themes/material/js/init.js', '<%= appDir %>/themes/baggy/js/init.js']
203 },
204 stylelint: {
205 target: ['<%= appDir %>/themes/material/css/*.css', '<%= appDir %>/themes/baggy/css/*.css']
206 }
207
201 }); 208 });
202 209
203 grunt.registerTask( 210 grunt.registerTask(
@@ -223,4 +230,10 @@ module.exports = function (grunt) {
223 'Compiles the stylesheets.', 230 'Compiles the stylesheets.',
224 ['clean:css', 'concat:cssMaterial', 'concat:cssBaggy', 'postcss'] 231 ['clean:css', 'concat:cssMaterial', 'concat:cssBaggy', 'postcss']
225 ); 232 );
233
234 grunt.registerTask(
235 'tests',
236 'Test css and js style conformity',
237 ['eslint', 'stylelint']
238 )
226}; 239};