Rakefile in radiant-0.5.2 vs Rakefile in radiant-0.6.0

- old
+ new

@@ -1,10 +1,11 @@ -# Add your own tasks in files placed in lib/tasks ending in .rake, -# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake. +require File.join(File.dirname(__FILE__), 'config', 'boot') -require(File.join(File.dirname(__FILE__), 'config', 'boot')) - require 'rake' require 'rake/testtask' require 'rake/rdoctask' -require 'tasks/rails' +require 'tasks/rails' + +unless Rake::Task.task_defined? "radiant:release" + Dir["#{RADIANT_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext } +end \ No newline at end of file