From 1cae99563968760ddf19436d0dc984fda91aee62 Mon Sep 17 00:00:00 2001 From: Stefan Riepenhausen Date: Mon, 19 Dec 2022 15:20:47 +0100 Subject: [PATCH] exclude swap files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 428e3d1..05b8d56 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ ifdef DEPLOY_HOSTS @- echo "\n### uploading files" @- $(foreach host,$(DEPLOY_HOSTS), \ ssh $(SSH_USER)@$(host) "mkdir -p $(DEPLOY_PATH)/$(DEPLOY_NAME)"; \ - rsync -rav --exclude '*~' --exclude '.git*' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME); \ + rsync -rav --exclude '*~' --exclude '.git*' --exclude '*.swp' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME); \ ) endif