From d801b6949dbadca7a2c7f34d8678479ee80059e6 Mon Sep 17 00:00:00 2001 From: Apisit Ritreungroj Date: Thu, 7 Dec 2023 12:13:35 +0700 Subject: [PATCH] feat: remote check-spelling --- .vscode/tasks.recommended.json | 4 ++-- Earthfile | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) 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.