diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-07 12:08:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-07 12:08:59 -0400 |
commit | 8a6f4a7e50c247c061fd74b535d0f292aca6bda7 (patch) | |
tree | 265b285b3d8f5b33ff135531badfe2f3585e378d /IkiWiki/Plugin/skeleton.pm.example | |
parent | 7475f90be2c1941d4449791e9e9cd5f3dc3bbb71 (diff) |
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.example | 4 |
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 (@) { |