infer 编译代码审查命令记录
2016-04-01 15:35
344 查看
infer -- xcodebuild -target <target name> -configuration <build configuration> -sdk iphonesimulator
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/infer
xcodebuild clean -sdk iphonesimulator9.0 -configuration Debug
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/infer -- xcodebuild -sdk iphonesimulator9.0 -configuration Debug
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/inferTraceBugs
xcodebuild -workspace 项目根目录/项目名.xcworkspace -scheme 项目名 ONLY_ACTIVE_ARCH=NO TARGETED_DEVICE_FAMILY=1 DEPLOYMENT_LOCATION=YES
xcodebuild -workspace LHand.xcworkspace -scheme LHand ONLY_ACTIVE_ARCH=NO TARGETED_DEVICE_FAMILY=1 DEPLOYMENT_LOCATION=YES
xcodebuild clean -sdk iphonesimulator9.0 -configuration Debug
xcodebuild -workspace LHand.xcworkspace -scheme LHand ONLY_ACTIVE_ARCH=NO TARGETED_DEVICE_FAMILY=1 DEPLOYMENT_LOCATION=YES -configuration Debug
xcodebuild -workspace LHand.xcworkspace -scheme LHand ONLY_ACTIVE_ARCH=NO -configuration Debug
//
xcodebuild -workspace LHand.xcworkspace -scheme LHand -sdk iphonesimulator
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/infer -- xcodebuild -workspace LHand.xcworkspace -scheme LHand -sdk iphonesimulator
//android infer 查看过程
1. cd android/ZHand 目录
android update project -p . -t android-20
2. cd android/libary 目录
android update project -p . -t android-2
3. cd android/ZHand 目录
infer -- ant debug
4. 最后去 infer-out 查看最终结果
//java 项目的编译过程
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-smart.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-im.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-manage.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-map.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-msg.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-office.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-schedule.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-storage.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-wap.xml (no bugs)
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/infer
xcodebuild clean -sdk iphonesimulator9.0 -configuration Debug
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/infer -- xcodebuild -sdk iphonesimulator9.0 -configuration Debug
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/inferTraceBugs
xcodebuild -workspace 项目根目录/项目名.xcworkspace -scheme 项目名 ONLY_ACTIVE_ARCH=NO TARGETED_DEVICE_FAMILY=1 DEPLOYMENT_LOCATION=YES
xcodebuild -workspace LHand.xcworkspace -scheme LHand ONLY_ACTIVE_ARCH=NO TARGETED_DEVICE_FAMILY=1 DEPLOYMENT_LOCATION=YES
xcodebuild clean -sdk iphonesimulator9.0 -configuration Debug
xcodebuild -workspace LHand.xcworkspace -scheme LHand ONLY_ACTIVE_ARCH=NO TARGETED_DEVICE_FAMILY=1 DEPLOYMENT_LOCATION=YES -configuration Debug
xcodebuild -workspace LHand.xcworkspace -scheme LHand ONLY_ACTIVE_ARCH=NO -configuration Debug
//
xcodebuild -workspace LHand.xcworkspace -scheme LHand -sdk iphonesimulator
/Users/walkerjiang/Desktop/infer/infer-osx-v0.4.0/infer/bin/infer -- xcodebuild -workspace LHand.xcworkspace -scheme LHand -sdk iphonesimulator
//android infer 查看过程
1. cd android/ZHand 目录
android update project -p . -t android-20
2. cd android/libary 目录
android update project -p . -t android-2
3. cd android/ZHand 目录
infer -- ant debug
4. 最后去 infer-out 查看最终结果
//java 项目的编译过程
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-smart.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-im.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-manage.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-map.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-msg.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-office.xml (no bugs)
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-schedule.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-storage.xml
infer -- mvn compile -Dmaven.test.skip=true -f ../pom-wap.xml (no bugs)
相关文章推荐
- 利用HTML5新特性改变浏览器地址后不刷新页面
- ReactNative学习二
- js table 以第几行的第几列作为标准合并
- (转)如何制作nodejs,npm “绿色”安装包
- 10分钟-jQuery过滤选择器
- 【小技巧】css3 scale 或者zoom实现文本根据容器自动缩放
- Html+CSS 文本的强制换行
- .js文件中写ajax请求
- 简单的JSP交互程序
- ReactNative学习一
- 下拉列表旁指下箭头及字体颜色等样式修改(2)
- JQuery中$.ajax()方法参数
- Jquery表单验证插件formValidator使用方法
- CSDN博客中嵌入背景音乐
- javascript中的字符串函数
- shiro jsp标签使用
- 状态栏世界时间_JS特效代码
- 学习Javascript闭包(Closure)
- 状态栏的打字效果_JS特效代码
- node.js开发中使用Node Supervisor实现监测文件修改并自动重启应用