From 1a86745e0bd504183e8f1f2d02db832b299e5bdf Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 25 Apr 2024 22:50:25 +0200 Subject: [PATCH] Add make target for spellcheck --- Makefile | 4 ++++ docker/Dockerfile.make | 1 + 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index e4a33838f..8330eec80 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/docker/Dockerfile.make b/docker/Dockerfile.make index 84f8e3140..6e36b1d9c 100644 --- a/docker/Dockerfile.make +++ b/docker/Dockerfile.make @@ -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 && \