File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 steps :
1010 - uses : actions/checkout@v3
1111
12- - name : Install ispell
12+ - name : Set locale
13+ run : |
14+ export LC_CTYPE=C.utf8
15+
16+ - name : Install nuspell
1317 run : |
1418 sudo apt update
15- sudo apt install -y ispell
19+ sudo apt install -y nuspell hunspell-ru make
1620
17- - name : Check _posts directory
18- run : ' ! cat _posts/* | ispell -a | grep ^\& '
21+ - name : Check _posts
22+ run : make nuspell
Original file line number Diff line number Diff line change @@ -3,3 +3,16 @@ present:
33
44serve :
55 bundle exec jekyll serve
6+
7+ aspell :
8+ cat _posts/* | aspell --encoding=UTF-8 --lang=en --camel-case list | aspell --encoding=UTF-8 --lang=ru list | sed " s/\(.*\)/\\\\ b\1\\\\ b/" | grep -R -f - _posts -n --color=always
9+
10+ nuspell :
11+ cat _posts/* | nuspell -i UTF-8 -d ru_RU -l | sed -r ' s/([a-z0-9])([A-Z])/\1 \L\2/g' | sed -E ' s/[\.:_]([a-z])/ \1/g' | nuspell -i UTF-8 -d en_US -l | sed " s/\(.*\)/\\\\ b\1\\\\ b/" | grep -R -f - _posts -n --color=always
12+
13+ hunspell :
14+ hunspell -l -i utf-8 -d ru_RU,en_US _posts/*
15+
16+ ispell :
17+ cat _posts/2021-10-21-effective-java.markdown | ispell -l -d russian
18+
You can’t perform that action at this time.
0 commit comments