In this chapter we looked at the basics of creating our own Grunt tasks, handling arguments for tasks, and adding some documentation along the way. Before moving on, try the following:
Add documentation to the other tasks. Be sure to test each task to make sure you got the syntax right!
Create a new task that multiplies two numbers. Be sure to add documentation.
Create a new folder called learning_grunt and then generate a new package.json file. Then create a new Gruntfile in the project, with a default task that prints out “It worked!”
Next we’ll look at how we can use built-in Grunt utilities to work with the file system.
3.14.246.207