set shell := ["bash", "-uc"] default: @just --list # Run all backend and plugin tests test: go test ./... cd plugin && go test . # Apply go fix to both modules fix: go fix ./... cd plugin && go fix . # Run golangci-lint on both modules lint: golangci-lint run cd plugin && golangci-lint run # fix + lint + test check: fix lint test # Run the backend locally (needs the compose services: just up) serve: go run -buildvcs=false ./cmd/bubblemix # Start the self-hosted stack from compose.yml up: docker compose up -d --build down: docker compose down # Build the Navidrome plugin package (bubblemix.ndp) plugin: cd plugin && GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -buildvcs=false -o plugin.wasm . zip -j -FS bubblemix.ndp plugin/manifest.json plugin/plugin.wasm # Publish bubblemix.ndp artifact to tags on tangled.org publish: plugin go run -buildvcs=false ./cmd/release