mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 09:51:01 +00:00
Add make target for spellcheck (#3648)
This commit is contained in:
parent
d0057736f1
commit
daf673a857
2 changed files with 5 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||||
|
|
|
@ -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 && \
|
||||||
|
|
Loading…
Reference in a new issue