Overview
| Comment: | [doc] how-to build |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | doc |
| Files: | files | file ages | folders |
| SHA3-256: |
a3003263a7c3251fda8e825556167715 |
| User & Date: | olr on 2017-04-25 12:44:16 |
| Original Comment: | doc how-to build |
| Other Links: | manifest | tags |
Context
|
2017-04-26
| ||
| 08:38 | [tb] fix editor; versions check-in: beb8701f0c user: olr tags: trunk, tb | |
|
2017-04-25
| ||
| 12:44 | [doc] how-to build check-in: a3003263a7 user: olr tags: trunk, doc | |
| 12:09 | Python v3.6 check-in: 1b348abe60 user: olr tags: trunk | |
Changes
Modified README.txt from [fa10e40650] to [3b39593e06].
| ︙ | ︙ | |||
8 9 10 11 12 13 14 |
Website: http://grammalecte.net
License: GPL 3 -- http://www.gnu.org/copyleft/gpl.html
Grammalecte is a fork of Lightproof
from László Németh (nemeth /at/ numbertext /dot/ org)
http://cgit.freedesktop.org/libreoffice/lightproof/
| < < | 8 9 10 11 12 13 14 |
Website: http://grammalecte.net
License: GPL 3 -- http://www.gnu.org/copyleft/gpl.html
Grammalecte is a fork of Lightproof
from László Németh (nemeth /at/ numbertext /dot/ org)
http://cgit.freedesktop.org/libreoffice/lightproof/
|
Modified doc/build.txt from [a7ffc6f8bf] to [f8846aedea].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
BUILDER
= Required =
Python 3.6
Firefox Nightly
NodeJS
npm
jpm
Thunderbird
= Commands =
== build a language ==
make.py LANG
generate the LibreOffice extension and the package folder.
LANG is the lang code (ISO 639).
This script uses the file `config.ini` in the folder `gc_lang/LANG`.
== First build ==
Type:
make.py LANG -b -d -js
This command is required to generate all necessary files.
== options ==
-b --build_data
Launch the script `build_data.py` in the folder `gc_lang/LANG`.
-d --dict
Generate the indexable binary dictionary from the lexicon in the folder `lexicons`.
-js --javascript
Also generate JavaScript extensions.
Without this option only Python modules, data and extensions are generated.
-t --tests
Run unit tests.
-i --install
Install the LibreOffice extension.
-fx --firefox
Launch Firefox Nightly.
Unit tests can be lanched from Firefox, with CTRL+SHIFT+F12.
-tb --thunderbird
Launch Thunderbird.
= Examples =
First build:
make.py LANG -b -d -js
After modifying grammar rules:
make.py LANG -t
If you modify the lexicon:
make.py LANG -d -js
If you modify your script build_data.py:
make.py LANG -b -js
|
Deleted doc/options.txt version [dc0618d03e].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |