lib/upgrade.rb in dev_tasks-0.0.90 vs lib/upgrade.rb in dev_tasks-0.0.91
- old
+ new
@@ -24,12 +24,12 @@
Dir.chdir(rake_dir) do
newest_file_rake_dir=rake_dir + '/' + Dir.glob("**/*").max_by {|f| File.mtime(f)}
end
if(newest_file_rake_dir.nil? || DEV_TASKS[:newest_artifact].nil?)
- self.add "<%Environment.rake('#{rake_dir}','default')%>"
+ self.add "<%Environment.rake('#{rake_dir}','default',false)%>"
else
- self.add "<%Environment.rake('#{rake_dir}','default')%>" if(File.mtime(newest_file_rake_dir) > File.mtime(DEV_TASKS[:newest_artifact]))
+ self.add "<%Environment.rake('#{rake_dir}','default',false)%>" if(File.mtime(newest_file_rake_dir) > File.mtime(DEV_TASKS[:newest_artifact]))
end
end
}
end
if(DEV_TASKS[:dependencies].has_key?(:source))
\ No newline at end of file