Skip to content

Commit

Permalink
docs: add run locally to the guide
Browse files Browse the repository at this point in the history
  • Loading branch information
apskhem committed Dec 6, 2023
1 parent 44d5f95 commit 18e4edf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/src/guides/spellcheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ check-spelling:
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:<tag>+check-spelling
```

### Run locally

```earthfile
spellcheck-lint:
# Check spelling in this repo.
LOCALLY
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:t1.2.0+CSPELL_LOCALLY --src=$(echo ${PWD})
```

In this use case, the UDC is run Locally, so that the src in the repo can be directly checked.

Executing `earthly +check-spelling` will automatically run the spell checking to all files in the repository.

## Configuration
Expand Down

0 comments on commit 18e4edf

Please sign in to comment.