require 'releases/version' require 'releases/plugin_helper' require 'releases/dsl/releases_dsl' module Releases 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 :releases_entity generated_file = File.join generated_files_path, 'message.txt' puts File.readlines(generated_file) else raise PowerStencil::Error, 'Plugin releases doesnt know how handle the build of a releases_entity entity type !' end end end