Sha256: 9f2f960ac6c94577b6032a54b05ad5577ee44f36839acbc1e46dc8d13ac58345
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rant-0.3.2 | test/subdirs/Rantfile |