Most of the make targets need one or more of the dev dependencies listed in package.json. You can install them all with
Produces a built version of L20n, ready to be used in your HTML pages as a single script. You can set
html (default) or
gaia. The produced file can be found in
Runs the entire test suite. You can set
REPORTER to one of the reporters supported by Mocha to control the visual output.
Runs the entire test suite every time you save a file. For extra candy, install Growl or libnotify-bin.
Runs the tests and produces a line-by-line report on the test coverage with jscoverage. The report can be found in
Runs gjslint on the code found in
Measures the speed of parsing, compiling and getting entities from an example L20n file based on Firefox OS's settings.properties. The results are reported in microseconds (µs). Additionally, if you run
make reference first, it will compare the results against the reference and report relative difference and their statistical significance. See the mailing list for more information.
Creates a reference measurement for
make perf to compare against. By default, it is saved in
Uses docco to parse all source files into nice-looking HTML files with colored syntax and contextualized comments side-by-side. The file are put in