Sunday, November 7, 2010

Dumps: Packaging web apps using Phing and Debhelper

Minutes ago I added a sample application, foobar drupal site, that is:
- build with drush_make Drush plugin
- packaged as debian package, using Debhelper
- "duck tapped" everything with Phing

Source code here:

The cool thing about this is build/generic-build.xml's debian-package target that basically allows you to package anything by just overriding properties or adding new files (ie. links conffiles, install, etc)

Currently, I'm using this approach to package all sorts of apps, from basic php scripts, custom php extensions, drupal/magento sites to java apps.

No comments:

Post a Comment