Initial Drupal 11 with DDEV setup
This commit is contained in:
36
vendor/consolidation/robo/src/Task/Vcs/Shortcuts.php
vendored
Normal file
36
vendor/consolidation/robo/src/Task/Vcs/Shortcuts.php
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Robo\Task\Vcs;
|
||||
|
||||
trait Shortcuts
|
||||
{
|
||||
/**
|
||||
* @param string $url
|
||||
*
|
||||
* @return \Robo\Result
|
||||
*/
|
||||
protected function _svnCheckout($url)
|
||||
{
|
||||
return $this->taskSvnStack()->checkout($url)->run();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $url
|
||||
*
|
||||
* @return \Robo\Result
|
||||
*/
|
||||
protected function _gitClone($url)
|
||||
{
|
||||
return $this->taskGitStack()->cloneRepo($url)->run();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $url
|
||||
*
|
||||
* @return \Robo\Result
|
||||
*/
|
||||
protected function _hgClone($url)
|
||||
{
|
||||
return $this->taskHgStack()->cloneRepo($url)->run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user