X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=Makefile;fp=Makefile;h=fb39f7f4d518c0a1551a7e2a8445d809c84ba0e2;hp=0000000000000000000000000000000000000000;hb=0bce98367c70c43eaa425aad101e15ed3db612a8;hpb=751565b4e34418cd006a1ce0e42e2614e1dc9e73 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fb39f7f --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +DEPLOY_HOST=lmno.games +DEPLOY_DIR=/srv/lmno.games/www +DO_NOT_DEPLOY="Makefile" + +deploy: + rm -rf .deploy-source + git clone . .deploy-source + rm -rf .deploy-source/.git + (cd .deploy-source; rsync -avz \ + --exclude=$(DO_NOT_DEPLOY) \ + ./ $(DEPLOY_HOST):$(DEPLOY_DIR) ) + rm -rf .deploy-source