mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Revert "Revert "make mod-check: run in sub-modules, GOPROXY=direct""
This reverts commit 7b0c383f8c.
Access to git.sr.ht/~sbinet/gg was restored, so the check now passes.
This commit is contained in:
parent
49aef8ab8c
commit
56c960444e
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
|
@ -135,8 +135,11 @@ mod-tidy:
|
|||
|
||||
mod-check:
|
||||
@$(call print, "Checking modules.")
|
||||
$(GOMOD) tidy
|
||||
if test -n "$$(git status | grep -e "go.mod\|go.sum")"; then echo "Running go mod tidy changes go.mod/go.sum"; git status; git diff; exit 1; fi
|
||||
GOPROXY=direct $(GOMOD) tidy
|
||||
cd swapserverrpc/ && GOPROXY=direct $(GOMOD) tidy
|
||||
cd looprpc/ && GOPROXY=direct $(GOMOD) tidy
|
||||
cd tools/ && GOPROXY=direct $(GOMOD) tidy
|
||||
if test -n "$$(git status --porcelain)"; then echo "Running go mod tidy changes go.mod/go.sum"; git status; git diff; exit 1; fi
|
||||
|
||||
sqlc:
|
||||
@$(call print, "Generating sql models and queries in Go")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue