|
7 | 7 | ### Modifying the code
|
8 | 8 | First, ensure that you have the latest [Node.js](http://nodejs.org/) and [npm](http://npmjs.org/) installed.
|
9 | 9 |
|
10 |
| -Test that grunt is installed globally by running `grunt --version` at the command-line. If grunt isn't installed globally, run `npm install -g grunt` to install the latest version. _You may need to run `sudo npm install -g grunt`._ |
| 10 | +Test that gulp is installed globally by running `grunt -v` at the command-line. If gulp isn't installed globally, run `npm install -g gulp` to install the latest version. |
11 | 11 |
|
12 | 12 | * Fork and clone the repo.
|
13 | 13 | * Run `npm install` and `bower install` to install all dev dependencies (including grunt).
|
14 | 14 | * Modify the `*.coffee` file.
|
15 |
| -* Run `grunt` to grunt this project. |
| 15 | +* Run `gulp` to build this project. |
16 | 16 |
|
17 |
| -Assuming that you don't see any red, you're ready to go. Just be sure to run `grunt` after making any changes, to ensure that nothing is broken. |
| 17 | +Assuming that you don't see any red, you're ready to go. Just be sure to run `gulp` after making any changes, to ensure that nothing is broken. |
18 | 18 |
|
19 | 19 | ### Submitting pull requests
|
20 | 20 |
|
21 | 21 | 1. Create a new branch, please don't work in your `master` branch directly.
|
22 |
| -1. Add failing tests for the change you want to make. Run `grunt` to see the tests fail. |
| 22 | +1. Add failing tests for the change you want to make. Run `gulp` to see the tests fail. |
23 | 23 | 1. Fix stuff.
|
24 |
| -1. Run `grunt` to see if the tests pass. Repeat steps 2-4 until done. |
| 24 | +1. Run `gulp` to see if the tests pass. Repeat steps 2-4 until done. |
25 | 25 | 1. Open `_SpecRunner.html` unit test file(s) in actual browser to ensure tests pass everywhere.
|
26 | 26 | 1. Update the documentation to reflect any changes.
|
27 | 27 | 1. Push to your fork and submit a pull request.
|
28 | 28 |
|
29 | 29 | ### notes
|
30 | 30 |
|
31 |
| -Please don't edit files in the `dist` subdirectory and *.js files in `src` as they are generated via grunt. |
| 31 | +Please don't edit files in the `dist` subdirectory and *.js files in `src` as they are generated via gulp. |
32 | 32 | You'll find source code in the `src` subdirectory!
|
33 | 33 | use `bower install` or `component install` to install dependencies first.
|
34 | 34 |
|
35 | 35 |
|
36 | 36 | ### PhantomJS
|
37 |
| -While grunt can run the included unit tests via [PhantomJS](http://phantomjs.org/), this shouldn't be considered a substitute for the real thing. Please be sure to test the `_SpecRunner.html` unit test file(s) in _actual_ browsers. |
38 |
| - |
39 |
| -See the [Why does grunt complain that PhantomJS isn't installed?](https://github.com/gruntjs/grunt/blob/master/docs/faq.md#why-does-grunt-complain-that-phantomjs-isnt-installed) guide in the [Grunt FAQ](https://github.com/gruntjs/grunt/blob/master/docs/faq.md) for help with installing or troubleshooting PhantomJS. |
| 37 | +While gulp can run the included unit tests via [PhantomJS](http://phantomjs.org/), this shouldn't be considered a substitute for the real thing. Please be sure to test the `_SpecRunner.html` unit test file(s) in _actual_ browsers. |
0 commit comments