+ All Categories
Home > Internet > TDC2015 Porto Alegre - Automate everything with Phing !

TDC2015 Porto Alegre - Automate everything with Phing !

Date post: 10-Jan-2017
Category:
Upload: matheus-marabesi
View: 705 times
Download: 1 times
Share this document with a friend
33
Transcript

phing build.xml -Drepodir=http://github.com

EchoTask

ChmodTaskChownTask

ExecTask

CopyTask

AppendTask

MoveTaskImportTask

GitCloneTask

ZipTask

TarTask

PhpLintTask

PHPUnitTask

PHPDocumentorTask

SvnCheckoutTask

1.

2.

3.

<?php

require_once 'phing/Task.php';

class MarabesiTask{ private $message = null; private $project = null; public function setMessage($str) { $this->message = $str; }

public function init() {}

public function main() { print($this->message); } public function setProject($project) { $this->project = $project; }

}

<project name=”TDC2015” description=”trilhaPHP”>

<echo msg=”Thank you!”/>

</project>


Recommended