Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zbraniecki/langpack-builder

Gaia Langpack Builder
https://github.com/zbraniecki/langpack-builder

Last synced: about 2 months ago
JSON representation

Gaia Langpack Builder

Awesome Lists containing this project

README

        

langpack-builder
================

A tool for building language packages for Firefox OS.

Installation
------------

npm install

Usage
-----

```
Usage: lp-builder [options] locale-path

Options:

-h, --help output usage information
-V, --version output the version number
-g, --gaia Gaia dir
-l, --locale Locale
-j, --json pack json files
-s, --source pack source files
-t, --target target directory [out]
--lp_version langpack version [1.0.0]
```

Examples
--------

./bin/lp-builder.js --gaia /path/to/gaia --locale ab-CD /path/to/gaia-l10n/ab-CD

Running tests
-------------

In order to run tests you need to have a clone of the Gaia repository and
a clone of the gaia-l10n/fr repository, both checked out at the specific
revision expected by the test fixtures.

mkdir -p tests/tmp/gaia-l10n
cd tests/tmp

git clone https://github.com/mozilla-b2g/gaia.git
cd gaia
git checkout 791e53728cd8018f1d7cf7efe06bbeb1179f0370
cd ..

cd gaia-l10n
hg clone https://hg.mozilla.org/gaia-l10n/fr
cd fr
hg update 7ea0828dcc36

You should now be able to run tests by issuing the following command:

gulp test