Rake

rake 0.8.7.

How to specify subtask in aggregate tasks

Problem: This won’t work, failing with “syntax error, unexpected ‘:’, expecting ‘]’”:

task :build_and_deploy => [ :build, :deploy:rsync ]

Solution:

task :build_and_deploy => [ :build, 'deploy:rsync' ]

Last modified: 03/12/2011 Tags:

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top