paulgibbs / achievements

Achievements gamifies your WordPress site with challenges, badges, and points.
http://achievementsapp.com
63 stars 9 forks source link

Grunt #116

Closed paulgibbs closed 11 years ago

paulgibbs commented 11 years ago

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 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)

paulgibbs commented 11 years ago

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.

017aa49f0b43f1a8fcdea4d9de570e2985f2753f