mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-12 01:10:26 +00:00
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:
parent
18ccec0b3b
commit
2ebd52ec71
|
@ -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' ] );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue