Beispiel #1
0
 /**
  * Upload archives
  *
  * @param Command $command
  * @param Version $version
  * @param string $directory Where to translate
  * @param string $awsProfile Name of aws profile to use
  */
 public function __construct(Command $command, Version $version, $directory = '.', $awsProfile = 'silverstripe')
 {
     parent::__construct($command);
     $this->version = $version;
     $this->awsProfile = $awsProfile;
     $this->project = new Project($directory);
 }
Beispiel #2
0
 /**
  *
  * @param Command $command
  * @param Version $version
  * @param string $recipe
  * @param string $directory
  * @param string $repository
  */
 public function __construct(Command $command, Version $version, $recipe, $directory = '.', $repository = null)
 {
     parent::__construct($command);
     $this->setRecipe($recipe);
     $this->setVersion($version);
     $this->setDirectory($directory ?: '.');
     $this->setRepository($repository);
 }
Beispiel #3
0
 /**
  * Create release step
  *
  * @param Command $command
  * @param Project $project
  * @param LibraryRelease $releasePlan
  */
 public function __construct(Command $command, Project $project, LibraryRelease $releasePlan = null)
 {
     parent::__construct($command);
     $this->setProject($project);
     $this->setReleasePlan($releasePlan);
 }
Beispiel #4
0
 /**
  * Build archives
  *
  * @param Command $command
  * @param \SilverStripe\Cow\Model\Versions\\SilverStripe\Cow\Model\\SilverStripe\Cow\Model\Release\Version $version
  * @param string $directory Where to translate
  * @param string $awsProfile Name of aws profile to use
  */
 public function __construct(Command $command, Version $version, $directory = '.')
 {
     parent::__construct($command);
     $this->version = $version;
     $this->project = new Project($directory);
 }
Beispiel #5
0
 public function __construct(Command $command, Project $project, Version $version)
 {
     parent::__construct($command);
     $this->setProject($project);
     $this->setVersion($version);
 }
Beispiel #6
0
 /**
  * @param Command $command
  * @param \SilverStripe\Cow\Model\Versions\\SilverStripe\Cow\Model\Release\Version $version
  */
 public function __construct(Command $command, Version $version)
 {
     parent::__construct($command);
     $this->version = $version;
 }