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
|
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
|
+
-
-
+
-
|
# How to build Grammalecte
## Required ##
* Python 3.6
* Firefox Developper
* Firefox Nightly
* NodeJS
* npm
* jpm : https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/jpm
* web-ext : https://developer.mozilla.org/fr/Add-ons/WebExtensions/Getting_started_with_web-ext
* web-ext : `https://developer.mozilla.org/fr/Add-ons/WebExtensions/Getting_started_with_web-ext`
* 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**
`make.py LANG -js`
> This command is required to generate all necessary files.
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
-
-
+
+
-
-
+
+
|
`-i --install`
> Install the LibreOffice extension.
`-fx --firefox`
> Launch Firefox Developper (before Firefox 57).
> Unit tests can be lanched from Firefox, with CTRL+SHIFT+F12.
> Launch Firefox Developper.
> Unit tests can be launched from the menu (Tests section).
`-we --webext`
> Launch Firefox Nightly (Firefox 57+).
> Unit tests can be lanched from the menu.
> Launch Firefox Nightly.
> Unit tests can be launched from the menu (Tests section).
`-tb --thunderbird`
> Launch Thunderbird.
## Examples ##
|