提交 e889f315 编写于 作者: J Jeremy Kemper

CI: return result of last rake task

上级 907858c1
......@@ -7,7 +7,9 @@ def root_dir
end
def rake(*tasks)
tasks.map { |task| system "#{root_dir}/bin/rake", task }.join("\n")
result = nil
tasks.each { |task| result = system("#{root_dir}/bin/rake", task) }
result
end
puts "[CruiseControl] Rails build"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册