README: Improve build instructions

Thanks @NickStefan

Ref 2e9c1ead76
This commit is contained in:
Oleg Gaidarenko 2014-09-23 15:03:04 -07:00
parent a9533893b9
commit 07afc284bc

View File

@ -21,10 +21,9 @@ Environments in which to use jQuery
What you need to build your own jQuery What you need to build your own jQuery
-------------------------------------- --------------------------------------
In order to build jQuery, you need to have Node.js/npm latest and git 1.7 or later. In order to build jQuery, you need to have the latest Node.js/npm and git 1.7 or later. Earlier versions might work, but are not supported.
(Earlier versions might work OK, but are not tested.)
For Windows you have to download and install [git](http://git-scm.com/downloads) and [Node.js](http://nodejs.org/download/). For Windows, you have to download and install [git](http://git-scm.com/downloads) and [Node.js](http://nodejs.org/download/).
Mac OS users should install [Homebrew](http://mxcl.github.com/homebrew/). Once Homebrew is installed, run `brew install git` to install git, Mac OS users should install [Homebrew](http://mxcl.github.com/homebrew/). Once Homebrew is installed, run `brew install git` to install git,
and `brew install node` to install Node.js. and `brew install node` to install Node.js.
@ -58,7 +57,7 @@ Make sure you have `grunt` installed by testing:
grunt -v grunt -v
``` ```
Now by running `grunt` command, in the jquery directory, you could build full version of jQuery, just like with `npm run build` command: Now by running the `grunt` command, in the jquery directory, you can build a full version of jQuery, just like with a `npm run build` command:
``` ```
grunt grunt
``` ```