#!/bin/bashset -eou pipefail# NOTE: this script should be ran from the root of the repository; the CWD should reflect thisBASEDIR=$(dirname "0ドル")REPORT_DIR=$(pwd)/reportVERSION=$(node -pe "require('./package.json').version")COMMIT_SHA=$(git rev-parse --short HEAD)echo "cwd=$(pwd)"echo "basedir=${BASEDIR}"echo "reportdir=${REPORT_DIR}"echo "version=${VERSION}"echo "commit=${COMMIT_SHA}"# This script appends code complexity reports over time. Given the amount of files, report files# are now stored on Azure Blob Storage. It's the source of truth - we download the current report,# run complexity analysis again, then push everything back to blob.rm -rf ${REPORT_DIR}mkdir -p ${REPORT_DIR}#NOTE: be sure to set AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY environment variablesaz storage blob download-batch --no-progress -d report -s '$web' > /tmp/download.log${BASEDIR}/generate-report.sh -o ${REPORT_DIR} -v ${VERSION} -c ${COMMIT_SHA}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。