zoukankan      html  css  js  c++  java
  • infer 编译代码审查命令记录

    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)

  • 相关阅读:
    一键编译go文件命令.bat
    安装go语言,配置环境及IDE,只需3步
    Mysql show Status常用参数详解
    LFS:kernel panic VFS: Unable to mount root fs
    LFS: Interface eth0 doesn't exist
    转:Xshell显示找不到匹配的outgoing encryption算法怎么办
    NTP-ntpdate:no server suitable for synchronization found
    linux/module.h: No such file or directory 内核模块编译过程
    ASCII码表完整版
    [Firmware Warn]: GHES: Failed to read error status block address for hardware error source
  • 原文地址:https://www.cnblogs.com/jhj117/p/5345140.html
Copyright © 2011-2022 走看看