refactor: adopt baby-nas Makefile style with inline packaging targets

- Simplify build targets: frontend, build, build-go, build-all, run, package
- Remove scripts/ for packaging (inline in Makefile)
- Add etc/syncserver/config.yaml and lib/systemd/system/ at project root
- build-all produces both amd64 and arm64 binaries
- package target builds .deb inline without external scripts
- VERSION from git tags, commit hash injected via ldflags
This commit is contained in:
2026-07-07 15:18:01 -04:00
parent 8e08c73f60
commit 221aea8b4c
3 changed files with 75 additions and 27 deletions
+9
View File
@@ -0,0 +1,9 @@
data_dir: /var/lib/syncserver
addr: :8080
auth:
jwt_secret: ""
jwt_expiry_hours: 24
scheduler:
timezone: UTC