diff --git a/Earthfile b/Earthfile index de6fb034f..9bb7ee3d3 100644 --- a/Earthfile +++ b/Earthfile @@ -20,7 +20,7 @@ markdown-check-fix: spell-check: LOCALLY - DO ./earthly/cspell+CSPELL_LOCALLY --src=$(echo ${PWD}) + DO ./earthly/cspell+CHECK_LOCALLY --src=$(echo ${PWD}) # check-spelling Check spelling in this repo inside a container. check-spelling: diff --git a/earthly/cspell/Earthfile b/earthly/cspell/Earthfile index a0f0f508d..c44e7da03 100644 --- a/earthly/cspell/Earthfile +++ b/earthly/cspell/Earthfile @@ -1,7 +1,7 @@ # cspell UDCs and Containers. VERSION 0.7 -CSPELL_LOCALLY: +CHECK_LOCALLY: # DO NOT RUN THIS UDC INSIDE CONTAINER BUILDS. # IT IS NOT FOR CONTAINER BUILDS. # See: https://github.com/earthly/earthly/issues/580 @@ -47,5 +47,5 @@ cspell-test: # As notes above, this check must only be run locally. LOCALLY # Run with `earthly -P +cspell-test` - DO +CSPELL_LOCALLY --src=$(echo ${PWD}/../../) + DO +CHECK_LOCALLY --src=$(echo ${PWD}/../../) diff --git a/earthly/cspell/Readme.md b/earthly/cspell/Readme.md index 6a87f9315..02dcbe701 100644 --- a/earthly/cspell/Readme.md +++ b/earthly/cspell/Readme.md @@ -36,7 +36,7 @@ spellcheck-lint: # Check spelling in this repo. LOCALLY - DO github.com/input-output-hk/catalyst-ci/earthly/cspell:+CSPELL_LOCALLY --src=$(echo ${PWD}) + DO github.com/input-output-hk/catalyst-ci/earthly/cspell:+CHECK_LOCALLY --src=$(echo ${PWD}) ``` In this use case, the UDC is run Locally, so that the src in the repo can be directly checked.