Sha256: 8010a2f19219819a20d5d0203ef1075078995a8a1c370eb124cf61e55eb8e0d4

Contents?: true

Size: 510 Bytes

Versions: 13

Compression:

Stored size: 510 Bytes

Contents

var "param" => "param_default.t"

file "t" => "sub1/t" do |t|
    sys.touch t.name
end

file "2t" => "sub2/t" do |t|
    sys.touch t.name
end

file "subdep.t" do |t|
    sys.touch t.name
end

task :sub_sub => "sub2/sub/rootref.t" do |t|
    test(?f, "sub2/sub/rootref.t") or t.fail
    sys.touch "sub_sub.t"
end

#task :clean => ["sub1/clean", "sub2/clean"] do
task :clean => ["sub2/clean", "sub1/clean", "sub2/sub/clean"] do
    sys.rm_f Dir["*t"]
end

subdirs FileList["sub*"].exclude("*.*")

# vim:ft=ruby

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rant-0.4.8 test/subdirs/Rantfile
rant-0.3.8 test/subdirs/Rantfile
rant-0.4.0 test/subdirs/Rantfile
rant-0.4.2 test/subdirs/Rantfile
rant-0.4.4 test/subdirs/Rantfile
rant-0.4.6 test/subdirs/Rantfile
rant-0.5.0 test/subdirs/Rantfile
rant-0.5.2 test/subdirs/Rantfile
rant-0.5.4 test/subdirs/Rantfile
rant-0.5.6 test/subdirs/Rantfile
rant-0.3.4 test/subdirs/Rantfile
rant-0.3.6 test/subdirs/Rantfile
rant-0.5.7 test/subdirs/Rantfile