WebMake: Documentation: The <action> Tag

WebMake Documentation (version 2.3) | [ Back | Forward | Index | All In One ]

# The <action> Tag The <action> tag takes this attribute: event The name of the action to bind to. The events that can be bound to are: site_changed WebMake has been run, and at least one file has been generated. (The list of files generated can be retrieved using the ${WebMake.ChangedFiles} variable.) The body of this tag must be a block of perl code, which will be run if and when the event occurs. ## Example
      <action event="site_changed"><{perl

    	print "site was modified\n";

      }></action>

WebMake Documentation (version 2.3) | [ Back | Forward | Index | All In One ]