Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROSA - Formally Proven Schedulability Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RT-PROOFS
PROSA - Formally Proven Schedulability Analysis
Commits
dfec28b2
Commit
dfec28b2
authored
2 years ago
by
Björn Brandenburg
Browse files
Options
Downloads
Patches
Plain Diff
also spell-check *.md files
parent
4c536701
No related branches found
Branches containing commit
No related tags found
1 merge request
!267
also spell-check *.md files
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
Makefile
+2
-1
2 additions, 1 deletion
Makefile
scripts/flag-typos-in-Markdown.sh
+21
-0
21 additions, 0 deletions
scripts/flag-typos-in-Markdown.sh
with
25 additions
and
3 deletions
.gitlab-ci.yml
+
2
−
2
View file @
dfec28b2
...
...
@@ -130,9 +130,9 @@ spell-check:
extends
:
-
.not_in_wip_branches
stage
:
build
image
:
bbbrandenburg/aspell-ci
image
:
bbbrandenburg/aspell-ci
:2023-03
script
:
-
scripts/flag-typos-in-comments.sh `find . -iname '*.v'`
-
make spell
# mathcomp-dev with stable Coq
#coq-8.15:
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
1
View file @
dfec28b2
...
...
@@ -81,7 +81,8 @@ macos-clean:
@
find
.
-depth
-iname
'.DS_Store'
!
-path
'./.git/*'
-delete
spell
:
./scripts/flag-typos-in-comments.sh
`
find
.
-iname
'*.v'
`
./scripts/flag-typos-in-comments.sh
`
find
.
-iname
'*.v'
`
./scripts/flag-typos-in-Markdown.sh
`
find
.
-iname
'*.md'
`
distclean
:
cleanall
$(
RM
)
$(
COQ_PROJ
)
...
...
This diff is collapsed.
Click to expand it.
scripts/flag-typos-in-Markdown.sh
0 → 100755
+
21
−
0
View file @
dfec28b2
#!/bin/sh
EXIT
=
0
KNOWN_EXCEPTIONS
=
./scripts/wordlist.pws
while
!
[
-z
"
$1
"
]
do
MD
=
"
$1
"
for
WORD
in
$(
cat
"
$1
"
\
| aspell
--mode
=
markdown
--add-extra-dicts
=
$KNOWN_EXCEPTIONS
-l
en list
\
|
sort
\
|
uniq
)
do
echo
"
$MD
: potentially misspelled word '
$WORD
'"
EXIT
=
1
done
shift
done
exit
$EXIT
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment