Tag: Rake
task :hello do puts 'hello' end
rake hello
task :hello2 => 'README.md' do |t| puts "##### hello2 #####" puts t.prerequisites.first end
task :hello do puts 'hello' end #task :list do # # #end fl = FileList.new('**/*') fl.exclude('tmp/**/*') fl.exclude('mydb/**/*') fl.exclude('log/**/*') fl.each do |f| puts f end
fl = FileList.new('*').include('.*') fl.each do |f| puts f end