Hei!
Looking forward to the hackathon this weekend! :)
Just to make it a little more fun/productive, my colleagues and I are bringing
some code to show you all! :D
We're bringing a functioning post-install test extension for Module::Build. The
main features are:
- With it, you can install your CPAN package tests in a standard[1] location,
either by running './Build installtests' or by setting and environment
variable that makes './Build install' do the same.
- If you've chosen to install packages this way, you now get the option to
run these tests at some later point - like when you're about to upgrade
a dependency of something you care about. Use the new './Build testrdeps'
and './Build testinc' actions for this!
- There examples and tests!
We've also prepared a 30min presentation w/demo if any of you are interested in
seeing our take on the post-install discussion, and we'd love to give it if
anyone's interested! \o/
Also, you can see/clone the code right now:
git clone git://github.com/bannaN/Module-Build-PIT.git
Hope this is a useful addition to the hackathon this weekend! :)
- Salve (Oslo.pm guy)
[1] Pending standarization :)
--
#!/usr/bin/perl
sub AUTOLOAD{$AUTOLOAD=~/.*::(\d+)/;seek(DATA,$1,0);print# Salve Joshua Nilsen
getc DATA}$"="'};&{'";@_=unpack("C*",unpack("u*",':4@,$'.# <s...@foo.no>
'2!--"5-(50P%$PL,!0X354UC-PP%/0\`'."\n"));eval "&{'@_'}"; __END__ is near! :)