From 587eafca2a62ef746df00af230d7da3ef4f99158 Mon Sep 17 00:00:00 2001 From: mourner Date: Mon, 12 Dec 2011 22:37:30 +0200 Subject: [PATCH] improve build helper instructions --- build/build.html | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/build/build.html b/build/build.html index a48049a8..b2160029 100644 --- a/build/build.html +++ b/build/build.html @@ -53,9 +53,12 @@ color: #777; } - #command, #command2 { + #command { width: 100%; } + #command2 { + width: 200px; + } #toolbar { padding-bottom: 10px; @@ -79,15 +82,19 @@

Building using Node and UglifyJS

-

- Install Node, install Jake & UglifyJS (npm install -g jake; npm install -g uglify-js), then run this in the root Leaflet directory:
- -

+
    +
  1. Download and install Node
  2. +
  3. Run this in the command line:
    +
    npm install -g jake
    +npm install -g jshint
    +npm install -g uglify-js
  4. +
  5. Run this command inside the Leaflet directory:
    +

Building using Closure Compiler

-

- Download Closure Compiler and extract it into lib/closure-compiler directory and run this command in the root Leaflet directory:
- -

+
    +
  1. Download Closure Compiler and extract it into lib/closure-compiler directory
  2. +
  3. Run this command in the root Leaflet directory:
  4. +