diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-08-12 11:34:21 +0200 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-08-19 21:24:33 -0400 |
commit | 6b9fde13444cc54fefc1a235a42ec41571522252 (patch) | |
tree | 5de9eee61e4e9e63c1a89955d9f5166163007feb /README.md | |
parent | 2b2ca8baa3e220f086f3a5d99c1bb84b5d5bd7c5 (diff) | |
download | jquery-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.md | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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**: |