diff --git a/.vscode/tasks.recommended.json b/.vscode/tasks.recommended.json index 997095658..8d8ddc315 100644 --- a/.vscode/tasks.recommended.json +++ b/.vscode/tasks.recommended.json @@ -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, diff --git a/Earthfile b/Earthfile index 4cde7aeba..bc2a7acc0 100644 --- a/Earthfile +++ b/Earthfile @@ -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.