zoukankan      html  css  js  c++  java
  • Mac安装Allure

    1. 安装Homebrew

      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

    2. Homebrew更换国内镜像源

      # 替换 brew.git 仓库地址
        cd "$(brew --repo)" 
        git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
        # 同下面一行命令
        git -C "$(brew --repo)" remote set-url origin https://mirrors.ustc.edu.cn/brew.git 
      
      # 替换 homebrew-core.git 仓库地址
        cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" 
        git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
        #
        git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
      
      # 替换 homebrew-cask.git 仓库地址
        cd "$(brew --repo)/Library/Taps/homebrew/homebrew-cask"
        git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git
        # 
        git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git
      
      # 替换 homebrew-bottles 访问地址
        vim ~/.zshrc
        export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles
        # 保存后
        source ~/.zshrc
      
    3. 终端输入命令进行安装

      brew install allure

    4. 成功

      UR8PKA.png

  • 相关阅读:
    sock编程
    Exceptional c++
    sort
    实现UDP高效接收/响应
    Iterator invalidation(迭代器失效)
    php 判断一个点是否在一个多边形区域内
    PHP 如何在txt里查找包含某个字符串的那一行?
    php 实现栈与队列
    微信支付 接口
    文章添加,删除,修改,分页列表
  • 原文地址:https://www.cnblogs.com/x1you/p/13339208.html
Copyright © 2011-2022 走看看