https://github.com/zbraniecki/langpack-builder
Gaia Langpack Builder
https://github.com/zbraniecki/langpack-builder
Last synced: about 1 month ago
JSON representation
Gaia Langpack Builder
- Host: GitHub
- URL: https://github.com/zbraniecki/langpack-builder
- Owner: zbraniecki
- Created: 2014-11-12T22:32:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T19:57:43.000Z (over 10 years ago)
- Last Synced: 2025-03-20T05:16:36.609Z (about 1 year ago)
- Language: JavaScript
- Size: 628 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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