feat: update Makefile and README to clarify Go plugin usage

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-12-26 14:53:41 -05:00
parent 870cd49307
commit 83eaad7292
2 changed files with 5 additions and 5 deletions

View File

@ -9,12 +9,12 @@ TINYGO := $(shell command -v tinygo 2> /dev/null)
.DEFAULT_GOAL := help
help:
@echo "Available plugins:"
@echo "Available Go plugins:"
@$(foreach p,$(PLUGINS),echo " $(p)";)
@echo ""
@echo "Usage:"
@echo " make <plugin> Build a specific plugin (e.g., make $(firstword $(PLUGINS)))"
@echo " make all Build all plugins"
@echo " make <plugin>.wasm Build a specific plugin (e.g., make $(firstword $(PLUGINS)).wasm)"
@echo " make all Build all Go plugins"
@echo " make clean Remove all built plugins"
all: $(PLUGINS:%=%.wasm)

View File

@ -13,10 +13,10 @@ This folder contains example plugins for Navidrome that demonstrate how to build
### Build all plugins
```bash
make
make all
```
This will compile all example plugins and place the `.wasm` files in this directory.
This will compile all (Go) example plugins and place the `.wasm` files in this directory.
### Build a specific plugin