Skip to content

Commit 9360def

Browse files
fix(build): remove temporary replace directive for external plugins
External plugins now reference pkg/plugin v0.1.19 directly.
1 parent 3a14025 commit 9360def

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,10 @@ fetch-external-plugins:
7474
fi
7575

7676
## 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.
7977
build-external-plugins: fetch-external-plugins
8078
@for repo in $(EXTERNAL_PLUGIN_REPOS); do \
8179
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)"; \
80+
echo "Building $$name..."; \
8781
$(MAKE) -C "$(PLUGINS_CACHE)/$$name" build; \
8882
done
8983

0 commit comments

Comments
 (0)