CHAPTER 9

image

Using Grunt for Your Build Process

A key factor behind the success of any language is the amount of tooling that is available to automate repetitive tasks. C has makefiles, Java has Ant and Maven, and Ruby has rakefiles. It was only a matter of time before the right tool came along for JavaScript, and that seems to be Grunt. In this chapter, we’ll introduce you to Grunt and explain how you can use it to improve quality, generate production-ready code, and much more. Continuing from the previous chapter, you will also see how you can automate the execution of your unit tests with Grunt.

An Introduction to Grunt

The aim of continuous ...

Get Beginning Backbone.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.