Add make target for spellcheck (#3648)

This commit is contained in:
Robert Kaussow 2024-04-26 07:51:10 +02:00 committed by GitHub
parent d0057736f1
commit daf673a857
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 .PHONY: bundle
bundle: bundle-agent bundle-server bundle-cli ## Create all bundles bundle: bundle-agent bundle-server bundle-cli ## Create all bundles
.PHONY: spellcheck
spellcheck:
pnpx cspell lint --no-progress --gitignore '{**,.*}/{*,.*}'
##@ Docs ##@ Docs
.PHONY: docs .PHONY: docs
docs: ## Generate docs (currently only for the cli) 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 --from=golang_image /usr/local/go /usr/local/go
COPY Makefile / COPY Makefile /
ENV PATH=$PATH:/usr/local/go/bin ENV PATH=$PATH:/usr/local/go/bin
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
# Cache tools # Cache tools
RUN GOBIN=/usr/local/go/bin make install-tools && \ RUN GOBIN=/usr/local/go/bin make install-tools && \