We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a14025 commit 9360defCopy full SHA for 9360def
1 file changed
Makefile
@@ -74,16 +74,10 @@ fetch-external-plugins:
74
fi
75
76
## build-external-plugins: Build all external plugins
77
-## Uses a go.mod replace directive so plugins build against the local pkg/plugin.
78
-## This ensures plugins stay compatible when plugin message types change.
79
build-external-plugins: fetch-external-plugins
80
@for repo in $(EXTERNAL_PLUGIN_REPOS); do \
81
name=$$(basename $$repo .git); \
82
- echo "Building $$name (with local pkg/plugin)..."; \
83
- cd "$(PLUGINS_CACHE)/$$name" \
84
- && go mod edit -replace github.com/platform-engineering-labs/formae/pkg/plugin=$(CURDIR)/pkg/plugin \
85
- && go mod tidy \
86
- && cd "$(CURDIR)"; \
+ echo "Building $$name..."; \
87
$(MAKE) -C "$(PLUGINS_CACHE)/$$name" build; \
88
done
89
0 commit comments