Skip to content

Commit d5bff11

Browse files
committed
fix(install): use namespace as binary name for discovery
Formae's plugin discovery expects the binary name to match the namespace directory. Changed from 'aws' to 'AWS' to match.
1 parent de6eef5 commit d5bff11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ install: build
5858
@echo "Installing $(PLUGIN_NAME) v$(PLUGIN_VERSION) (namespace: $(PLUGIN_NAMESPACE))..."
5959
@rm -rf $(PLUGIN_BASE_DIR)/$(PLUGIN_NAMESPACE)
6060
@mkdir -p $(INSTALL_DIR)/schema/pkl
61-
@cp bin/$(BINARY) $(INSTALL_DIR)/$(BINARY)
61+
@cp bin/$(BINARY) $(INSTALL_DIR)/$(PLUGIN_NAMESPACE)
6262
@cp -r schema/pkl/* $(INSTALL_DIR)/schema/pkl/
6363
@cp formae-plugin.pkl $(INSTALL_DIR)/
6464
@echo "Installed to $(INSTALL_DIR)"
65-
@echo " - Binary: $(INSTALL_DIR)/$(BINARY)"
65+
@echo " - Binary: $(INSTALL_DIR)/$(PLUGIN_NAMESPACE)"
6666
@echo " - Schema: $(INSTALL_DIR)/schema/pkl/"
6767
@echo " - Manifest: $(INSTALL_DIR)/formae-plugin.pkl"
6868

0 commit comments

Comments
 (0)