summaryrefslogtreecommitdiffstats
path: root/runtime/spell/check/main.aap
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/spell/check/main.aap')
-rw-r--r--runtime/spell/check/main.aap15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/spell/check/main.aap b/runtime/spell/check/main.aap
new file mode 100644
index 0000000..a47351f
--- /dev/null
+++ b/runtime/spell/check/main.aap
@@ -0,0 +1,15 @@
+# Aap recipe for a dummy spell file.
+# This is used to check if the .spl file format changes.
+
+# Use a freshly compiled Vim if it exists.
+@if os.path.exists('../../../src/vim'):
+ VIM = ../../../src/vim
+@else:
+ :progsearch VIM vim
+
+all: check.latin1.spl
+
+check.latin1.spl : $VIM check_aa.aff check_aa.dic check_bb.aff check_bb.dic
+ :sys $VIM -u NONE -e -c "mkspell! check check_aa check_bb" -c q
+
+# vim: set sts=4 sw=4 :