From d4882fb11aa292548d4aabc6c8acb1d5246fbafe Mon Sep 17 00:00:00 2001 From: Andrew Plummer Date: Tue, 1 Oct 2013 23:17:44 +0900 Subject: [PATCH] updating readme for #373 --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3d00c4227..87f0d7289 100644 --- a/README.md +++ b/README.md @@ -23,17 +23,18 @@ in all browsing environments (IE, etc) to ensure that it is stable, at least to ## Custom Builds -Sugar now allows custom builds that let you opt in or out packages. This can be done [here](http://sugarjs.com/customize). -Custom builds can also be created with `script/build_custom.rb`. With ruby installed, simply call: +Sugar allows custom builds that let you opt in or out packages. This can be done [here](http://sugarjs.com/customize). +Custom builds can also be created with `script/create_release.rb`. With ruby installed, simply call: ``` -ruby script/build_custom.rb core array string +ruby script/create_release.rb core array string ``` listing the packages you want to include. The advantage of using this script is that it will perform all the minification on the fly, providing more fine-grained control by allowing you to manipulate the source code in `lib/` before building. If you want to remove specific methods from a package, you can do it this way. -Be careful about removing dependencies, however, especially methods in `core.js`, the extending methods of which are required. +Be careful about removing dependencies however. `core` is required and will be added automatically. Be careful about removing methods +in here as many methods are depended on by multiple packages. ## Unit Tests Node