-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune
34 lines (31 loc) · 1.03 KB
/
dune
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
;; gboard
(rule
(targets gboard-1990-1000.zip gboard-erofa-1000.zip)
(deps
(sandbox always)
../data/lexique/Lexique383.gen.tsv
../extension/dict1990.gen.csv
../extension/dict.gen.csv
)
(action (run ./gen-gboard)))
;; heliboard
;; download as separate rules so that iterating on the script doesn't
;; cause repeated downloads
(rule
(targets dicttool_aosp.jar)
(deps (sandbox always))
(action (run curl --fail-with-body -sS -O https://raw.githubusercontent.com/remi0s/aosp-dictionary-tools/1e69dd2c04258e5e9e04bfb13b46faccf6a435b0/dicttool_aosp.jar)))
(rule
(targets main_fr.combined.gz)
(deps (sandbox always))
(action (run curl --fail-with-body -sS -O https://codeberg.org/Helium314/aosp-dictionaries/raw/commit/0ec0417ef8baa8f4504aead129214ecfdf26ba28/wordlists/main_fr.combined.gz)))
(rule
(targets heliboard_erofa.dict)
(deps
(sandbox always)
dicttool_aosp.jar
main_fr.combined.gz
%{project_root}/extension/dict.gen.csv
%{project_root}/doc-conversion/bin/ortografe_cli.exe
)
(action (run ./gen-heliboard)))