Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我运行不带参数的“rake”时,rspec 和 cucumber 将自动触发。我希望 jasmine:ci 任务在发生这种情况时也运行。我如何实现这一目标?
在您的 Rakefile 中,您可以定义自定义任务:
task :my_task do #define custom task puts 'my own task" end task :default => 'my_task' #set task "my_task" as default task #this task will execute on 'rake' running