Add make target for spellcheck

This commit is contained in:
Robert Kaussow 2024-04-25 22:50:25 +02:00
parent d0057736f1
commit 1a86745e0b
No known key found for this signature in database
GPG key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 0 deletions

View file

@ -306,6 +306,10 @@ bundle-cli: bundle-prepare ## Create bundles for cli
.PHONY: bundle
bundle: bundle-agent bundle-server bundle-cli ## Create all bundles
.PHONY: spellcheck
spellcheck:
pnpx cspell lint --no-progress --gitignore '{**,.*}/{*,.*}'
##@ Docs
.PHONY: docs
docs: ## Generate docs (currently only for the cli)

View file

@ -20,6 +20,7 @@ RUN apk add --no-cache --update make=${MAKE_VERSION} gcc=${GCC_VERSION} binutils
COPY --from=golang_image /usr/local/go /usr/local/go
COPY Makefile /
ENV PATH=$PATH:/usr/local/go/bin
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
# Cache tools
RUN GOBIN=/usr/local/go/bin make install-tools && \