aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-08-12 11:34:21 +0200
committerDave Methvin <dave.methvin@gmail.com>2012-08-19 21:24:33 -0400
commit6b9fde13444cc54fefc1a235a42ec41571522252 (patch)
tree5de9eee61e4e9e63c1a89955d9f5166163007feb /README.md
parent2b2ca8baa3e220f086f3a5d99c1bb84b5d5bd7c5 (diff)
downloadjquery-6b9fde13444cc54fefc1a235a42ec41571522252.tar.gz
jquery-6b9fde13444cc54fefc1a235a42ec41571522252.zip
Add README info on how to create custom builds. Close gh-892.
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/README.md b/README.md
index fd249681e..6012f087a 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ First, clone a copy of the main jQuery git repo by running:
git clone git://github.com/jquery/jquery.git
```
-Enter the directory and install the node dependencies:
+Enter the directory and install the Node dependencies:
```bash
cd jquery && npm install
@@ -81,6 +81,18 @@ Starting in jQuery 1.8, special builds can now be created that optionally exclud
- offset
+Before creating a custom build for use in production, be sure to check out the latest stable version:
+
+```bash
+git pull; git checkout $(git describe --abbrev=0 --tags)
+```
+
+Then, make sure all Node dependencies are installed and all Git submodules are checked out:
+
+```bash
+npm install && grunt
+```
+
To create a custom build, use the following special `grunt` commands:
Exclude **ajax**: