Download qooxdoo Documentation

Transcript
qooxdoo Documentation, Release 1.2
-
inspector
lint
migration
pretty
profiling
source
source-all
test
test-source
translation
---------
(since 0.8.2) create an inspector instance in the current library
check the source code of the .js files of the current library
migrate the .js files of the current library to the current qooxdoo version
pretty-formatting of the source code of the current library
includer job, to activate profiling
create source version of current application
create source version of current application, with all classes
create a test runner app for unit tests of the current library
-- create a test runner app for unit tests (source version) of the current lib
-- create .po files for current library
For an exhaustive reference of these default jobs, see the default jobs page.
8.2 Generator Configuration
8.2.1 Generator Configuration File
Overview
The configuration file that drives the generator adheres to the JSON specification. It has the following general structure:
{
"jobs" :
{
"job1" : { ... },
"job2" : { ... },
...
"jobN" : { ... }
}
}
The job names job1, ..., jobN are freely chooseable but must form a valid key. JavaScript-style comments (/.../ and
%%//%%...) are permissible but only in rather robust places, like after a comma or directly after opening or before
closing parentheses, but e.g. not between a key and its value.
Quick links:
• Reference Listing of Config Keys
• Configuration Macro Reference
• Configuration Detail Articles
• Implementation Background Information
Example
Here is an example of a minimal config file that defines a single job to create the source version of an application:
{
"jobs" :
{
"source" :
{
"let" :
{
8.2. Generator Configuration
325