summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
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