From 1038cfe7dd4cfb3fc8f4c09442f4b8ff9443b67b Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Mon, 3 Mar 2014 18:09:10 -0800 Subject: [PATCH] No more need for the fabfile, everything uses invoke now --- fabfile.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 fabfile.py diff --git a/fabfile.py b/fabfile.py deleted file mode 100644 index 29394f9..0000000 --- a/fabfile.py +++ /dev/null @@ -1,13 +0,0 @@ -from fabric.api import task, sudo, env -from fabric.contrib.project import rsync_project - - -@task -def upload_docs(): - target = "/var/www/paramiko.org" - staging = "/tmp/paramiko_docs" - sudo("mkdir -p %s" % staging) - sudo("chown -R %s %s" % (env.user, staging)) - sudo("rm -rf %s/*" % target) - rsync_project(local_dir='docs/', remote_dir=staging, delete=True) - sudo("cp -R %s/* %s/" % (staging, target))