Permalink
Browse files

Replaced a self-contained script with a weird collection of files and

directories that nevertheless seems to work. Dojo build is still a mystery.
  • Loading branch information...
1 parent 37934d9 commit 8cef63cbbc9c446f914efb8ab6af6e0ab5aaa047 @MaxMotovilov committed Jul 23, 2012
Showing with 5 additions and 22 deletions.
  1. +5 −7 util/i18n/README
  2. +0 −15 util/i18n/release/collect.js
  3. BIN util/i18n/release/collect.zip
View
@@ -2,15 +2,13 @@ collect.js is a simple script that extracts all localizable strings from a
CHT file and prints them as a JSON object that can be edited to create a
correct NLS bundle for this CHT module.
-Usage: node release/collect.js FileName.cht >NLSFileName.js
+Usage: (*) unpack collect.zip in place
+ node release/dojo/collect.js FileName.cht >NLSFileName.js
Note that results are always directed to standard output.
In order to build release/collect.js script from the source:
-1. Download the trunk version of Dojo from http://svn.dojotoolkit.org
-2. Change directory to util/buildscripts of Dojo trunk
-3. Run "./build.sh --release --profile <<Path to collect.profile.js>>
-4. Copy or move release/dojo/dojo/dojo.js from Dojo trunk directory to
- release/collect.js in this directory.
-
+(*) Don't even try if you value your sanity :( Dojo build framework does not
+ seem capable of producing builds for Node.js in a straightforward manner.
+ I am despaired of seeing this issue resolved in my lifetime.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.

0 comments on commit 8cef63c

Please sign in to comment.