mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 09:31:20 +08:00
[analyzer] Don’t try to open HTML after run on Jenkins CI.
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -62,7 +62,7 @@ task :build => targets.map { |x| "build:#{x}" }
|
||||
desc "Run the clang static analyzer against the source"
|
||||
task :analyze do
|
||||
options = []
|
||||
options << '--view'
|
||||
options << '--view' unless ENV['JENKINS_URL']
|
||||
options << '-disable-checker osx.cocoa.RetainCount'
|
||||
options << '--use-analyzer=/usr/bin/clang'
|
||||
options << '--use-cc=/usr/bin/clang --use-c++=/usr/bin/clang++'
|
||||
|
||||
Reference in New Issue
Block a user