Skip to content

Commit

Permalink
Add go mod vendor
Browse files Browse the repository at this point in the history
Signed-off-by: Dale Haiducek <[email protected]>
  • Loading branch information
dhaiducek committed Sep 19, 2024
1 parent 1cbb98d commit 94704e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ build-and-package: build-binaries package-binaries
.PHONY: clone-repos
clone-repos:
while IFS=, read -r git_url build_cmd build_dir; do \
git clone --branch=${RELEASE_TAG} --depth=1 $${git_url} $(REMOTE_SOURCES_DIR)/$${git_url##*/}/$(REMOTE_SOURCES_SUBDIR); \
repo_path=$(REMOTE_SOURCES_DIR)/$${git_url##*/}/$(REMOTE_SOURCES_SUBDIR); \
git clone --branch=${RELEASE_TAG} --depth=1 $${git_url} $${repo_path}; \
cd $${repo_path} && go mod vendor; \
cd - 1>/dev/null; \
done < ./build/cli_map.csv

.PHONY: build-binaries
Expand Down

0 comments on commit 94704e0

Please sign in to comment.