Method: Rake::Application#escalate_tasks
- Defined in:
- lib/xot/rake/escalation.rb
#escalate_tasks ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/xot/rake/escalation.rb', line 19 def escalate_tasks() Dir.chdir '..' do cmd = "rake #{ARGV.join ' '}" $stderr.puts "(in #{Dir.pwd}) #{cmd}" system cmd end exit 0 end |