feat: add experimental standalone SMB service for Finder

This commit is contained in:
Meghdad committed 2026-10-16 15:09:41 +03:30
1 parent c9006c11dd
commit b9cb187f0d
55 files changed
+7961 -10

No files matched your search

+6 -1
View File
@@ -2,13 +2,14 @@ GO ?= go
PYTHON ?= python3
BINARY := dist/routershelf-linux-mipsle
.PHONY: test build-mipsle check-shell check-config nat-plan test-stress-tool
.PHONY: test build-mipsle check-shell check-config nat-plan test-stress-tool build-smb-mipsle
test: check-shell check-config test-stress-tool
$(GO) test ./...
check-shell:
sh -n deploy/padavan/supervisor.example.sh
sh -n deploy/padavan/smb-supervisor.example.sh
sh -n scripts/nat-plan.sh
sh -n examples/status-dashboard/scripts/status-service.sh
sh -n examples/status-dashboard/scripts/status-response.sh
@@ -25,3 +26,7 @@ nat-plan:
test-stress-tool:
$(PYTHON) -B -m unittest discover -s scripts/tests -p 'test_*.py' -v
build-smb-mipsle:
mkdir -p dist
GOOS=linux GOARCH=mipsle GOMIPS=softfloat CGO_ENABLED=0 $(GO) build -trimpath -ldflags='-s -w' -o dist/routershelf-smb-linux-mipsle ./cmd/routershelf-smb