Let caller override default fannie/config.php
also make `deploy.full_path()` honor absolute path when given one
This commit is contained in:
parent
64c69aab3c
commit
d713bbe522
2 changed files with 16 additions and 10 deletions
|
@ -239,6 +239,8 @@ class Deployer(object):
|
|||
self.deploy(c, local_path, remote_path, **kwargs)
|
||||
|
||||
def full_path(self, local_path):
|
||||
if local_path.startswith('/'):
|
||||
return local_path
|
||||
return '{}/{}'.format(self.deploy_path, local_path)
|
||||
|
||||
def local_exists(self, local_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue