News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Raphael Stolt's Blog:
Creating and using Phing ad hoc tasks
April 20, 2009 @ 08:49:38

Raphael Stolt has another post dealing with the Phing (PHP-based) build tool. This time he talks about making ad hoc tasks inside of your build scripts.

Sometimes there are build scenarios where you'll badly need a functionality, like adding a MD5 checksum file to a given project, that isn't provided neither by the available Phing core nor the optional tasks. [...] The following post will try to outline how to define and use these inline tasks, by sketching an ad hoc task that enables the build orchestra to clone Git repositories from GitHub during a hypothetical workbench setup.

He creates an example task - running a "clone" command via github - complete with the code for both sides of the feature; the PHP code to create the task and how to use it in your build file.

0 comments voice your opinion now!
tool build example clone github task adhoc phing create


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: The Mysteries Of Asynchronous Processing With PHP - Part 1

Stefan Koopmanschap's Blog: Barcodes and QR codes in PHP

YoungCoders.com: The PHP Construct You've Never Used

Icant.co.uk: How to create thumbnails with PHP and gd

PHP and Me Blog: Use Phing to Update your SVN-Version-Controlled Website Automatically, Through FTP


Community Events





Don't see your event here?
Let us know!


update tool voicesoftheelephpant release framework podcast language mvc interview package series security opinion laravel library introduction version community symfony composer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework