How to use the renameTask function from grunt

Find comprehensive JavaScript grunt.renameTask code examples handpicked from public code repositorys.

271
272
273
274
275
276
277
278
279
280

```javascript
var grunt = require('grunt');

module.exports = function() {
  grunt.renameTask('mochaTest', 'mocha');
  return {
    test: ['mocha'],
    w: ['build', 'doStuff', 'mocha', 'watch']
  };
fork icon1
star icon3
watch icon1

+ 7 other calls in file