Allow a dependency to have _post_prepare_script in this GitClone source.
This commit is contained in:
parent
fa17b5e200
commit
a212ec622b
|
@ -144,6 +144,8 @@ class GitClone(Source):
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
self.command('gitclone', self._git_clone)
|
self.command('gitclone', self._git_clone)
|
||||||
self.command('gitupdate', self._git_update)
|
self.command('gitupdate', self._git_update)
|
||||||
|
if hasattr(self, '_post_prepare_script'):
|
||||||
|
self.command('post_prepare_script', self._post_prepare_script)
|
||||||
|
|
||||||
|
|
||||||
class Builder:
|
class Builder:
|
||||||
|
|
Loading…
Reference in New Issue