Skip to content

Commit

Permalink
feat: remote check-spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
apskhem committed Dec 7, 2023
1 parent e811cd5 commit d801b69
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .vscode/tasks.recommended.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
{
"label": "CI - Recursive Spell Check",
"type": "shell",
"command": "earthly -P +spell-check",
"command": "earthly -P +check-spelling",
"problemMatcher": {
"owner": "spell-check",
"owner": "check-spelling",
"pattern": {
"regexp": "([\\S+]+):(\\d+):(\\d+)\\s-\\s(.+)",
"file": 1,
Expand Down
11 changes: 9 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ markdown-check-fix:

DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v1.3.0+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix

# spell-check Check spelling in this repo locally.
spell-check:
# Check spelling in this repo.
LOCALLY

DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v1.3.0+CSPELL_LOCALLY --src=$(echo ${PWD})
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.0.10+CSPELL_LOCALLY --src=$(echo ${PWD})

# check-spelling Check spelling in this repo inside a container.
check-spelling:
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.0.10+CHECK

check:
BUILD +check-spelling

repo-docs:
# Create artifacts of extra files we embed inside the documentation when its built.
Expand Down

0 comments on commit d801b69

Please sign in to comment.