diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-06-12 12:52:30 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-06-12 12:52:30 -0400 |
commit | f13de6b3d6256f457da0a3c8274ba33656f8df4f (patch) | |
tree | 034ea5f5eb120277542ca8884c34b8fa1c7b2ed4 /README.md | |
parent | 47298a7d1686096ddb12199de33deaf404b1a482 (diff) | |
download | jquery-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.md | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -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 -------------------------------------- |