feat: add experimental standalone SMB service for Finder
This commit is contained in:
55 files changed
+7961
-10
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user