From 3ccf851798e6d79bd5cfe307989a58b2e037c6e2 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Mon, 26 Jan 2026 02:21:21 +0700 Subject: make: add task to deploy to local machine using rsync --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 3cdfa24..5531bd9 100644 --- a/Makefile +++ b/Makefile @@ -203,6 +203,13 @@ uninstall-macos: uninstall-common rm -f /Library/LaunchDaemons/info.kilabit.rescached.plist +##---- Deploy to local machine. + +.PHONY: deploy.local +deploy.local: build + sudo rsync _bin/linux_amd64/rescached /usr/bin/rescached + sudo systemctl restart rescached.service + ##---- Tasks for deploying to public DNS server. .PHONY: deploy-personal-server -- cgit v1.3