Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

使用oclint检测代码,为了方便写了一些脚本

Notifications You must be signed in to change notification settings

doge1024/oclint_apply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation

oclint_apply

使用oclint检测代码,在学习的过程中,为了方便写的一些脚本

# 替换workspace的名字
myworkspace="test.xcworkspace" 
# 替换scheme的名字
myscheme="test" 
# 输出方式 xcode/pmd/html
reportType="xcode"
# [自定义report](http://docs.oclint.org/en/stable/howto/selectreporters.html) 如:
nowReportType="-report-type html -o oclint_result.html"
# 自定义排除警告的目录,将目录字符串加到数组里面,结果中将不会含有Pods文件夹下文件编译警告
exclude_files=("test_js" "Pods")
  1. Using OCLint in Xcode => 输出方式 xcode
  2. Using OCLint with Jenkins CI => 输出方式 pmd

About

使用oclint检测代码,为了方便写了一些脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /