aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm.example
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-07 12:08:59 -0400
committerJoey Hess <joey@kitenet.net>2010-09-07 12:08:59 -0400
commit8a6f4a7e50c247c061fd74b535d0f292aca6bda7 (patch)
tree265b285b3d8f5b33ff135531badfe2f3585e378d /IkiWiki/Plugin/skeleton.pm.example
parent7475f90be2c1941d4449791e9e9cd5f3dc3bbb71 (diff)
downloadikiwiki-8a6f4a7e50c247c061fd74b535d0f292aca6bda7.tar
ikiwiki-8a6f4a7e50c247c061fd74b535d0f292aca6bda7.tar.gz
needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
Diffstat (limited to 'IkiWiki/Plugin/skeleton.pm.example')
-rw-r--r--IkiWiki/Plugin/skeleton.pm.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example
index 341d67867..7974d5e53 100644
--- a/IkiWiki/Plugin/skeleton.pm.example
+++ b/IkiWiki/Plugin/skeleton.pm.example
@@ -73,7 +73,11 @@ sub refresh () {
}
sub needsbuild ($) {
+ my $needsbuild=shift;
+
debug("skeleton plugin needsbuild");
+
+ return $needsbuild;
}
sub preprocess (@) {