2) Find out how to delete the includes/admin/css/dev and templates/achievements/css/dev directories from builds. These folders contains LESS files and aren't used in production, so would be nice though not essential to get them out the production builds. (done)
3) Longer term perhaps, wait for WP Core to figure out how to set up Grunt watches for CSS + JS so those are automatically rebuilt as/when a developer touches those files. (done)
4) Create a "dev" profile, and set that to the default. This won't minimise the CSS or JS. (done)
5) To the "prod" profile, see if possible to get phpUnit tests running automatically (done)
Added new tools folder and added copy of CSSJanus so we have all the "build" tools in the same package, at least, even if not integrated into Grunt yet.
Achievements now has a basic Grunt build process.
Things left to find out how to do:
1)
Figure out how to get MediaWiki's PHP version of CSSJanus integrated. CSSJanus automatically builds RTL CSS files. https://github.com/wikimedia/mediawiki-core/tree/master/maintenance/cssjanus(done)2)
Find out how to delete the(done)includes/admin/css/dev
andtemplates/achievements/css/dev
directories from builds. These folders contains LESS files and aren't used in production, so would be nice though not essential to get them out the production builds.3)
Longer term perhaps, wait for WP Core to figure out how to set up Grunt watches for CSS + JS so those are automatically rebuilt as/when a developer touches those files.(done)4)
Create a "dev" profile, and set that to the default. This won't minimise the CSS or JS.(done)5)
To the "prod" profile, see if possible to get phpUnit tests running automatically(done)