Skip to content

Commit

Permalink
fix: rename CSPELL_LOCALLY to CHECK_LOCALLY
Browse files Browse the repository at this point in the history
  • Loading branch information
apskhem committed Dec 6, 2023
1 parent 2e9f70a commit 1215c6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions earthly/cspell/Earthfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}/../../)

2 changes: 1 addition & 1 deletion earthly/cspell/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spellcheck-lint:
# Check spelling in this repo.
LOCALLY
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:<tag>+CSPELL_LOCALLY --src=$(echo ${PWD})
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:<tag>+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.
Expand Down

0 comments on commit 1215c6d

Please sign in to comment.