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)

Installation summary – a quick guide


We will be installing the Angular Seed project using Git.

Installing Git

We will use this project throughout the book as our sample project. It is good to periodically check your current git version and current release notes for a new version to determine if upgrading is appropriate. Refer to https://git-scm.com/ for the most current Git information.

If you wish to review any of the installation processes for Git, refer to the previous sections for specific installation or troubleshooting steps:

Determining Git Installation

Let's understand the use of Git for installation of Xcode on Mac systems:

  • Adding Git to Your $PATH variable:

    • For example: PATH = $PATH:/usr/local/git/bin/

  • If Git is not installed:

In this chapter and for the remainder of the book, we will be using the Angular Seed project. The main reason for this is that it is simple to use the scaffold in order to set up a quick project with an HTTP server.

Create...