Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ build: validate_plugin validate_version
go get $(plugin_github_url)@$(plugin_version); \
fi && \
go mod tidy && \
if [ -f replace.mod ]; then \
cat replace.mod >> go.mod && \
go mod tidy; \
fi && \
$(MAKE) -f out/Makefile build

# Copy the created binary from the work directory
Expand All @@ -57,7 +61,11 @@ render: validate_plugin validate_version
echo "go get $(plugin_github_url)@$(plugin_version)" && \
go get $(plugin_github_url)@$(plugin_version); \
fi && \
go mod tidy
go mod tidy && \
if [ -f replace.mod ]; then \
cat replace.mod >> go.mod && \
go mod tidy; \
fi

# Note: The work directory will contain the full code tree with rendered changes

Expand Down
Loading
Loading