mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
make: add cache directory for linter
Mounts a local temporary folder to the linter docker container in order to persist the linter cache across runs.
This commit is contained in:
parent
e6d6789fd9
commit
ba34f220b9
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -69,6 +69,7 @@ DOCKER_TOOLS = docker run \
|
|||
--rm \
|
||||
-v $(shell bash -c "go env GOCACHE || (mkdir -p /tmp/go-cache; echo /tmp/go-cache)"):/tmp/build/.cache \
|
||||
-v $(shell bash -c "go env GOMODCACHE || (mkdir -p /tmp/go-modcache; echo /tmp/go-modcache)"):/tmp/build/.modcache \
|
||||
-v $(shell bash -c "mkdir -p /tmp/go-lint-cache; echo /tmp/go-lint-cache"):/root/.cache/golangci-lint \
|
||||
-v $$(pwd):/build lnd-tools
|
||||
|
||||
GREEN := "\\033[0;32m"
|
||||
|
|
Loading…
Add table
Reference in a new issue