mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
feat: update Makefile and README to clarify Go plugin usage
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
870cd49307
commit
83eaad7292
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user