test/project1/Rantfile in rant-0.3.2 vs test/project1/Rantfile in rant-0.3.4

- old
+ new

@@ -1,6 +1,8 @@ +require 'tutil' + file "test_touch" do |t| sys.touch t.name end task :clean do @@ -66,30 +68,30 @@ sys.touch "#{t.name}/postprocess" end file "tbe" => :dep1 do |t| sys.touch t.name - sleep 2 + timeout end enhance :tbe => "dep2" do |t| sys.touch "tbe2" - sleep 2 + timeout end # should generate warning because there is no existing task called # "nothing" and create the task "nothing" enhance :nothing task :order do |t| sys.touch t.name + "1" - sleep 2 + timeout end task :order do |t| sys.touch t.name + "2" - sleep 2 + timeout end file "incdep" do |t| sys.touch t.name end @@ -127,5 +129,7 @@ fallback fallback_ order1 order2 tbe tbe2 inc incdep lt_target one_target ).find_all { |e| test(?e, e) } sys.rm_rf %w(dir) end + +# vim:ft=ruby