From 2ebd52ec717650a82ee2e2a1966cf91c0175eeab Mon Sep 17 00:00:00 2001 From: AronDemian Date: Mon, 24 Feb 2020 14:54:03 +0100 Subject: [PATCH] Maintenance: `grunt test` won't run the unnecessary 'svgmin' task. `grunt` (default) will, though. 'svgmin' minifies .svg files, that's only necessary when those are changed, which seldom happens. Bug: T245930 Change-Id: I79e1dbc5c86206991fcef08eb23d17d3141901b7 --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index e150ac28e..268b82b83 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -64,6 +64,6 @@ module.exports = function ( grunt ) { } } ); - grunt.registerTask( 'test', [ 'eslint', 'stylelint', 'svgmin', 'banana' ] ); - grunt.registerTask( 'default', 'test' ); + grunt.registerTask( 'test', [ 'eslint', 'stylelint', 'banana' ] ); + grunt.registerTask( 'default', [ 'test', 'svgmin' ] ); };