Skip to content

Developer: Running grunt tasks

Jonathan Champ edited this page Aug 16, 2022 · 2 revisions

So you added, modified or removed some JavaScript and now the automated checks are failing? Here's how to run the necessary grunt tasks:

  1. If you haven't yet, download the version of Moodle you want to build against.
  2. If you haven't yet, add the plugin to the appropriate directory in Moodle, such as mod/zoom.
  3. If you haven't yet, install grunt.
  4. Make sure you are using the correct version of Node.js by running nvm use.
  5. Rebuild the JavaScript files using grunt amd.
Clone this wiki locally