Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zbraniecki/langpack-builder
- Owner: zbraniecki
- Created: 2014-11-12T22:32:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T19:57:43.000Z (about 9 years ago)
- Last Synced: 2024-10-14T16:14:34.426Z (3 months ago)
- Language: JavaScript
- Size: 628 KB
- Stars: 1
- Watchers: 2
- 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-pathOptions:
-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/tmpgit 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 7ea0828dcc36You should now be able to run tests by issuing the following command:
gulp test