PageRenderTime 18ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2/test/data/verbose/Rakefile

http://github.com/agross/netopenspace
Rakefile | 34 lines | 27 code | 7 blank | 0 comment | 0 complexity | 4bda4724cf882cade9e247be17a527b5 MD5 | raw file
 1
 2task :standalone_verbose_true do
 3  verbose true
 4  sh "ruby -e '0'"
 5end
 6
 7task :standalone_verbose_false do
 8  verbose false
 9  sh "ruby -e '0'"
10end
11
12task :inline_verbose_default do
13  sh "ruby -e '0'"
14end
15
16task :inline_verbose_false do
17  sh "ruby -e '0'", :verbose => false
18end
19
20task :inline_verbose_true do
21  sh "ruby -e '0'", :verbose => true
22end
23
24task :block_verbose_true do
25  verbose(true) do
26    sh "ruby -e '0'"
27  end
28end
29
30task :block_verbose_false do
31  verbose(false) do
32    sh "ruby -e '0'"
33  end
34end