aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-06-12 12:52:30 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-06-12 12:52:30 -0400
commitf13de6b3d6256f457da0a3c8274ba33656f8df4f (patch)
tree034ea5f5eb120277542ca8884c34b8fa1c7b2ed4 /README.md
parent47298a7d1686096ddb12199de33deaf404b1a482 (diff)
downloadjquery-f13de6b3d6256f457da0a3c8274ba33656f8df4f.tar.gz
jquery-f13de6b3d6256f457da0a3c8274ba33656f8df4f.zip
Simplify the terminal command args syntax for custom builds. Update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 14 insertions, 5 deletions
diff --git a/README.md b/README.md
index 77632bb8c..4f077c360 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,7 @@ The built version of jQuery will be put in the `dist/` subdirectory.
Starting in jQuery 1.8, special builds can now be created that optionally exclude or include any of the following modules:
- ajax
+- css
- dimensions
- effects
- offset
@@ -85,34 +86,42 @@ To create a custom build, use the following special `grunt` commands:
Exclude **ajax**:
```bash
-grunt build:*:*:-ajax
+grunt custom:-ajax
+```
+
+Exclude **css**:
+
+```bash
+grunt custom:-css
```
Exclude **dimensions**:
```bash
-grunt build:*:*:-dimensions
+grunt custom:-dimensions
```
Exclude **effects**:
```bash
-grunt build:*:*:-effects
+grunt custom:-effects
```
Exclude **offset**:
```bash
-grunt build:*:*:-offset
+grunt custom:-offset
```
Exclude **all** optional modules:
```bash
-grunt build:*:*:-ajax:-dimensions:-effects:-offset
+grunt custom:-ajax,-css,-dimensions,-effects,-offset
```
+Note: dependencies will be handled internally, by the build process.
+
Running the Unit Tests
--------------------------------------