Book Image

Learning Grunt

By : Douglas Reynolds
Book Image

Learning Grunt

By: Douglas Reynolds

Overview of this book

With the increasing focus on task automation, the Grunt task runner is a vast platform that allows you to incorporate automation into your workflows. At the outset, you will learn how to use Node.js and NMP through an example. You will then find out how to build a sample app and the development environment for it. You will further delve into the implementation of Grunt plugins and the configuration of Grunt tasks. Furthermore, you will explore the various methods and packages for workflow automation. The final chapter will cover some advanced concepts, such as configuration variables and how to create a Grunt plugin. By the end of the book, you will have gained the fundamentals of Grunt and progressed through advanced concepts, including building a Grunt plugin.
Table of Contents (15 chapters)

Installing Git


Git is a distributed version control system that allows developers to manage changes to files. Git provides you with a means to store application versions so that we can track changes as backups and share updates within teams and with users. We will be using Git in this chapter in order to install an application called Angular Seed. Angular Seed will create an application scaffold for us so that we can quickly create our starting application files and directories automatically. As we are really interested in automating processes, including Angular Seed makes sense to get us going quickly. It should be noted that there used to be a Grunt plugin project named grunt-angular-seed. However, it is no longer maintained and has been deprecated. As a result, we will simply use Git to clone the Angular Seed project in our project's root directory. At that point, we will be able to go through the simple installation process for Angular Seed.

Determining the Git installation

On Mac, if...