test/Rantfile in rant-0.3.6 vs test/Rantfile in rant-0.3.8

- old
+ new

@@ -21,14 +21,16 @@ gen Action do rac.build "version.t" end -source "auto.rf" +auto_t_task = source "auto.rf" +rac.abort unless auto_t_task.name == "auto.t" task :clean do sys.rm_f %w(auto.t auto.rf version.t) + sys.rm_rf %w(basedir.t) end gen Directory, "tmp.t" task "tmp.t/Rantfile" => "tmp.t" do |t| open(t.name, "w") { |f| @@ -46,7 +48,10 @@ rac.build "tmp.t/test.t" # just ensure we're NOT in the tmp.t directory #STDERR.puts Dir.pwd test(?d, "tmp.t") or t.fail end + +desc "Make some path (basedir.t/a/b)." +gen Directory, "basedir.t", "a/b" # vim: ft=ruby