コード例 #1
0
ファイル: GitDeployTest.php プロジェクト: robloach/git-deploy
 public function testFromFile()
 {
     $gitdeploy = GitDeploy::fromFile($this->fixtures . 'git-deploy.json');
     $this->assertNotEmpty($gitdeploy);
 }
コード例 #2
0
ファイル: DeployCommand.php プロジェクト: robloach/git-deploy
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $deploy = GitDeploy::fromFile($input->getOption('file'));
     $deploy->deploy();
 }