Jforrester has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/233167

Change subject: build: Make `quick-build` build the 'mixed' distribution
......................................................................

build: Make `quick-build` build the 'mixed' distribution

Also warn the unwary user.

Bug: T109958
Change-Id: I8c2e857c3fc997186a2e119115d0bde56488fdbd
---
M Gruntfile.js
1 file changed, 8 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/67/233167/1

diff --git a/Gruntfile.js b/Gruntfile.js
index fb13fd0..6f36314 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -401,6 +401,11 @@
                } );
        } );
 
+       grunt.registerTask( 'note-quick-build', function () {
+               grunt.log.warn( 'You have built a no-frills, SVG-only, LTR-only 
version for development; some things will be broken.' );
+       } );
+
+
        grunt.registerTask( 'build-code', [ 'concat:js', 'uglify' ] );
        grunt.registerTask( 'build-styling', [
                'colorizeSvg', 'less', 'cssjanus',
@@ -420,9 +425,10 @@
        grunt.registerTask( 'quick-build', [
                'pre-git-build', 'clean:build', 'fileExists', 'tyops',
                'concat:js',
-               'colorizeSvg', 'less:distVector', 'concat:css',
+               'colorizeSvg', 'less:distMixed', 'concat:css',
                'copy:imagesCommon', 'copy:imagesApex', 'copy:imagesMediaWiki',
-               'build-i18n', 'copy:demos', 'copy:fastcomposerdemos'
+               'build-i18n', 'copy:demos', 'copy:fastcomposerdemos',
+               'note-quick-build'
        ] );
 
        grunt.registerTask( 'lint', [ 'jshint', 'jscs', 'csslint', 'jsonlint', 
'banana' ] );

-- 
To view, visit https://gerrit.wikimedia.org/r/233167
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8c2e857c3fc997186a2e119115d0bde56488fdbd
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Jforrester <jforres...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to