annotate runtime/spell/main.aap @ 22209:825fb261b141

Added tag v8.2.1653 for changeset a607f02fd17a8b2c6814b1973c0f2433dfc54d15
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Sep 2020 19:30:06 +0200
parents 661eb972cb22
children d314efe6447a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
1 # Toplevel Aap recipe for Vim spell files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
2 #
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
3 # Usage:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
4 # aap generate all the .spl files
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
5 # aap diff create all the diff files
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
6
648
9032e4668296 updated for version 7.0189
vimboss
parents: 502
diff changeset
7 # "hu" is at the end, because it takes a very long time.
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
8 # "eu" takes even longer (4 hours on my system).
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 648
diff changeset
9 LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 648
diff changeset
10 ku la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
11 tet th tl tn tr uk yi zu hu eu
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
12
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
13 # TODO:
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
14 # Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
15
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
16 diff: $*LANG/diff
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
17 :print Done.
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
18
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
19 # Use "aap publish" to upload the .spl files.
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
20 SPL_files = eu.utf-8.spl
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
21
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
22 UPDIR = rsync://bram@ftp1.nluug.nl//var/ftp/pub/vim/runtime/spell
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
23 :attr {publish = $UPDIR/%file%} $SPL_files
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
24
456
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
25 @for l in string.split(_no.LANG):
c4d200412ae9 updated for version 7.0121
vimboss
parents: 388
diff changeset
26 :child $l/main.aap
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
27
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
28 # The existing .spl files need to be generated when the spell file format
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
29 # changes. Depending on the Vim executable does that, but results in doing it
483
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
30 # much too often. Generate a dummy .spl file and let the .spl depend on it, so
70afa17bfc01 updated for version 7.0132
vimboss
parents: 482
diff changeset
31 # that they are outdated when it changes.
482
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
32 :child check/main.aap
6f8b578776ab updated for version 7.0131
vimboss
parents: 481
diff changeset
33 *.spl: check/check.latin1.spl