Skip to content

Commit

Permalink
download dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
parthban-db committed Jan 17, 2025
1 parent 57b9ef7 commit a7394cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ vendor:
fi \
done

download:
@echo "✓ Downloading dependencies in all modules ..."
@for dir in */; do \
if [ -f "$$dir/go.mod" ]; then \
echo "Downloading $$dir..."; \
cd $$dir && \
go mod download && \
cd ..; \
fi \
done

doc:
@echo "Open http://localhost:6060"
@go run golang.org/x/tools/cmd/godoc@latest -http=localhost:6060
Expand Down

0 comments on commit a7394cb

Please sign in to comment.