build: Add explicit dependency upon grunt-cli
[T119942Repr.git] / README
blobb0915392d4fec6aca7b72d775404adc575c9f566
1 This is a blank extension template. It doesn't really do anything on its own.
2 It is intended to provide a boiler template for an actual MediaWiki extension.
4 If you are checking this out from Git and intend to use it, you may use the
5 following commands to make a clean directory of just this template without the
6 Git meta-data and other examples.
8         git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/examples.git mw-extensions-example-repo
9         cp -R mw-extensions-example-repo/BoilerPlate ./MyExtension
11 This automates the recommended code checkers for PHP and JavaScript code in Wikimedia projects
12 (see https://www.mediawiki.org/wiki/Continuous_integration/Test_entry_points).
13 To take advantage of this automation.
14   # install nodejs, npm, and PHP composer
15   # change to the extension's directory
16   # npm install
17   # composer install
19 Once set up, running `npm test` and `composer test` will run automated code checks.