Skip to content

Commit 81c87b9

Browse files
committed
[build] --force-color when running inside maven
1 parent 9606be1 commit 81c87b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ task :speconly => [ :resources, :test_resources ] do
108108
if ENV['SKIP_SPECS'].to_s == 'true'
109109
puts "Skipping specs due to SKIP_SPECS=#{ENV['SKIP_SPECS']}"
110110
else
111-
opts = ENV['SPEC_OPTS'] ? ENV['SPEC_OPTS'] : %q{ --format documentation --color }
111+
opts = ENV['SPEC_OPTS'] ? ENV['SPEC_OPTS'] : %q{ --format documentation --force-color }
112112
spec = ENV['SPEC'] || File.join(Dir.getwd, "src/spec/ruby/**/*_spec.rb")
113113
opts = opts.split(' ').push *FileList[spec].to_a
114114
ruby = ENV['RUBY'] || 'jruby'

0 commit comments

Comments
 (0)