Sha256: 4ae10ce4d82b8bac5b2792b91b59c16a6d6a03d98280fcc03aad6d93857462ae
Contents?: true
Size: 682 Bytes
Versions: 7
Compression:
Stored size: 682 Bytes
Contents
import %w(directedrule autoclean) task :mk_src => %w(src.t/1.b src.t/2.b src.t/3.b src.t/1.2b) gen Directory, "src.t" %w(src.t/1.b src.t/2.b src.t/3.b src.t/1.2b).each { |f| file f => "src.t" do |t| sys.touch t.name end } file "foo.t" => %w(build.t/1.a build.t/2.a) do |t| t.fail unless test(?f, "build.t/1.a") && test(?f, "build.t/2.a") sys.touch t.name end gen Directory, "build.t" gen Directory, "build2.t" gen Action do rac.build "build.t" end gen DirectedRule, "build2.t" => ["src.t"], '.2a' => '.2b' do |t| sys.touch t.name end ro_tt = gen DirectedRule, "build.t" => ["src.t"], :a => :b do |t| sys.touch t.name end gen AutoClean # vim:ft=ruby
Version data entries
7 entries across 7 versions & 1 rubygems