rake task writing question

M

MarFarMa

rake question: given code like:

Cucumber::Rake::Task.new({:eek:k => 'db:test:prepare'}, 'Run features
that should pass') do |t|

How would I add an additional instruction to the {:eek:k =>
'db:test:prepare'} section?

I'd like to do more here than just preparing a test-database -- how do
I add additional commands --> like also preparing a test couchdb
database at the same time? Do I just add a semi-colon, and then the
additional code? Any other suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top