lib/upgrade.rb in dev_tasks-0.0.76 vs lib/upgrade.rb in dev_tasks-0.0.77
- old
+ new
@@ -15,9 +15,10 @@
end
}
if(defined?(DEV_TASKS))
if(DEV_TASKS[:dependencies].has_key?(:rake))
DEV_TASKS[:dependencies][:rake].each{|rake_dir|
+ self.add "<%Environment.rake('#{rake_dir} pull')%>" if(Dir.exists?(rake_dir))
self.add "<%Environment.rake('#{rake_dir} upgrade')%>" if(Dir.exists?(rake_dir))
self.add "<%Environment.rake('#{rake_dir} default')%>" if(Dir.exists?(rake_dir))
}
end
if(DEV_TASKS[:dependencies].has_key?(:source))
\ No newline at end of file