Skip to content

Commit

Permalink
Merge branch 'feat-std-spell-check' into feat-spell-check
Browse files Browse the repository at this point in the history
  • Loading branch information
apskhem committed Dec 1, 2023
2 parents ead76a1 + 2879faa commit f4ba504
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ spell-check:

DO ./earthly/cspell+CSPELL_LOCALLY --src=$(echo ${PWD})

# Check all source and documentation files.
check-spelling:
FROM ghcr.io/streetsidesoftware/cspell:8.0.0
# Use the existing directory from the image itself containing `cspell` binary.
WORKDIR /app

COPY . .
RUN npx cspell lint . --dot

check:
BUILD +check-spelling

repo-docs:
# Create artifacts of extra files we embed inside the documentation when its built.
FROM scratch
Expand Down

0 comments on commit f4ba504

Please sign in to comment.