Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Mar 13, 2024
1 parent 0353afb commit d913129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ updatedeps: versioncheck
$(MAKE) cleandeps

cleandeps:
set -e; for dir in $(shell ls -d1 pkg/*); do \
set -e; for dir in $(shell ls -d1 pkg/* cmd/*); do \
( cd ./$$dir && $(GO) mod tidy ); \
done
$(GO) mod tidy
Expand All @@ -60,7 +60,7 @@ vendor: go.work

go.work: pkg/*
echo "go $(MINGOVERSIONSTR)" > go.work
$(GO) work use . pkg/* buildtools/.
$(GO) work use . pkg/* cmd/* buildtools/.

dump:
if [ $(shell grep -r Dump ./cmd/*/*.go ./pkg/*/*.go | grep -v 'Data::Dumper' | grep -v 'httputil.Dump' | grep -v logThreadDump | grep -v dump.go | wc -l) -ne 0 ]; then \
Expand Down

0 comments on commit d913129

Please sign in to comment.