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
This commit is contained in:
AronDemian 2020-02-24 14:54:03 +01:00
parent 18ccec0b3b
commit 2ebd52ec71

View file

@ -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' ] );
};