lib/dev_tasks.rb in dev_tasks-0.0.89 vs lib/dev_tasks.rb in dev_tasks-0.0.90

- old
+ new

@@ -137,5 +137,32 @@ desc 'displays help for dev_task' task :help do puts "use rake -T to see available tasks" end + +desc 'rake projects defined in DEV_TASKS[:dependencies][:projects]' +task :rake_dependencies_projects do + Console.announce_task_start "rake_dependencies_projects" + DEV_TASKS[:dependencies][:projects].each{|project| + dir=Environment.dev_root + "/wrk/" + project + Environment.rake(dir,"default",true) if File.exists?(dir) + } +end + +desc 'clobber projects defined in DEV_TASKS[:dependencies][:projects]' +task :clobber_dependencies_projects do + Console.announce_task_start "clobber_dependencies_projects" + DEV_TASKS[:dependencies][:projects].each{|project| + dir=Environment.dev_root + "/wrk/" + project + Environment.rake(dir,"clobber",true) if File.exists?(dir) + } +end + +desc 'clean projects defined in DEV_TASKS[:dependencies][:projects]' +task :clean_dependencies_projects do + Console.announce_task_start "clean_dependencies_projects" + DEV_TASKS[:dependencies][:projects].each{|project| + dir=Environment.dev_root + "/wrk/" + project + Environment.rake(dir,"clean",true) if File.exists?(dir) + } +end