lib/gumdrop/build.rb in gumdrop-0.4.0 vs lib/gumdrop/build.rb in gumdrop-0.5

- old
+ new

@@ -15,10 +15,19 @@ # run() # end end def build_tree + Gumdrop.report "[Scanning from #{src}]", :info + # Report blacklists and greylists + Gumdrop.blacklist.each do |path| + Gumdrop.report " blacklist: #{path}", :info + end + Gumdrop.greylist.each do |path| + Gumdrop.report " greylist: #{path}", :info + end + # Scan Filesystem #puts "Running in: #{root}" Dir.glob("#{src}/**/*", File::FNM_DOTMATCH).each do |path| unless File.directory? path or Build::SKIP.include?( File.basename(path) ) file_path = (path.split('/') - @root_path).join '/' @@ -45,9 +54,10 @@ end end def run_generators + Gumdrop.report "[Executing Generators]", :info Gumdrop.generators.each_pair do |path, generator| generator.execute() end end \ No newline at end of file