As you work through the book, you’ll see some conventions.
When you’re asked to type a command in the Command Prompt or Terminal, which I’ll just refer to as the Terminal, it’ll look like this:
| $ grunt |
The dollar sign ($) represents the prompt in your Terminal. You never type that part of the command. But when you see it, that means you will need to type the command in your Terminal.
Sometimes you’ll see snippets of code you’ll type out. Those will look like this:
basics/kicking_tires/Gruntfile.js | |
| module.exports = function(grunt){ |
| // Your tasks go here |
| } |
The filename above the code indicates the file we’re working with. You can use this to locate the full file in the book’s source code download, too. And if you’re reading the electronic copy of the book, you can click or tap on the name of the file to view the file online.
Sometimes you’ll see output from the screen, which will look like this:
| Available tasks |
| default Custom task. |
| greet Custom task. |
| addNumbers Custom task. |
| all Alias for "default", "greet:Brian", "addNumbers:2:3" tasks. |
| praise Have Grunt say nice things about you. |
This is a hands-on book, so there will be many places where we’ll reference files or commands. The book’s formatting should make it clear which file or command you’re expected to work with.
3.14.130.136