提交 f44a5832 编写于 作者: M mvandervoord

- remove color coding when running in continuous integration

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@63 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
上级 e189a1b3
......@@ -24,10 +24,14 @@ end
desc "Build and test Unity"
task :all => [:clean, :unit, :summary]
task :default => [:clobber, :all]
task :ci => [:default]
task :cruise => [:default]
task :ci => [:no_color, :default]
task :cruise => [:no_color, :default]
desc "Load configuration"
task :config, :config_file do |t, args|
configure_toolchain(args[:config_file])
end
task :no_color do
$color_output = false
end
......@@ -8,10 +8,10 @@ require 'auto/colour_prompt'
module RakefileHelpers
C_EXTENSION = '.c'
COLOUR = true
$color_output = true
def report(message)
if not COLOUR
if not $color_output
puts($stdout.puts(message))
else
message.each_line do |line|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册