require '<%= plugin_name %>/version' require '<%= plugin_name %>/plugin_helper' require '<%= plugin_name %>/<%= plugin_name %>_processor' require '<%= plugin_name %>/dsl/<%= plugin_name %>_dsl' module <%= plugin_module_name %> def self.post_build_hook(built_entity, generated_files_path) # This is an example of what you could do after files are generated, ie pretty much anything... case built_entity.type when :<%= plugin_name %>_entity generated_file = File.join generated_files_path, 'message.txt' puts File.readlines(generated_file) else raise PowerStencil::Error, 'Plugin <%= plugin_name %> doesnt know how handle the build of a <%= plugin_name %>_entity entity type !' end end end