扣子智能体
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
coze_studio/frontend/scripts/post-rush-install.sh

25 lines
922 B

#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
ROOT_DIR=$(realpath "$SCRIPT_DIR/..")
if [ "$CUSTOM_SKIP_POST_INSTALL" == "true" ]; then
exit 0
fi
# pushd $ROOT_DIR/packages/arch/i18n && npm run pull-i18n && popd || exit
node $ROOT_DIR/common/scripts/install-run-rush.js pull-idl -a install || exit
if [ "$NO_STARLING" != true ]; then
# Update copy
pushd $ROOT_DIR/ee/infra/sync-scripts && npm run sync:starling && popd || exit
pushd $ROOT_DIR/ee/infra/sync-scripts && npm run sync:starling-cozeloop && popd || exit
fi
if [ "$CI" != "true" ]; then
node $ROOT_DIR/common/scripts/install-run-rush.js pre-build -o tag:phase-prebuild -v
fi
# if [ -z "$BUILD_TYPE" ]; then
# #update icon
# pushd $ROOT_DIR/ee/infra/sync-scripts && npm run sync:icon && popd || exit
# pushd $ROOT_DIR/ee/infra/sync-scripts && npm run sync:illustration && popd || exit
# fi