@coze-arch/cli 0.1.2 → 0.1.3-alpha.8d71d5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,6 @@ if [ -z "${BASH_VERSION:-}" ]; then exec /usr/bin/env bash "$0" "$@"; fi
|
|
|
3
3
|
set -euo pipefail
|
|
4
4
|
ROOT_DIR="$(pwd)"
|
|
5
5
|
PREVIEW_DIR="/source/preview"
|
|
6
|
-
SOURCE_DIR="/source"
|
|
7
6
|
|
|
8
7
|
# ==================== 配置项 ====================
|
|
9
8
|
SERVER_DIR="app"
|
|
@@ -41,9 +40,6 @@ echo "检查根目录 post_install.py"
|
|
|
41
40
|
if [ -f "$PREVIEW_DIR/post_install.py" ]; then
|
|
42
41
|
echo "执行:python $PREVIEW_DIR/post_install.py"
|
|
43
42
|
python "$PREVIEW_DIR/post_install.py" || echo "post_install.py 执行失败"
|
|
44
|
-
elif [ -f "$SOURCE_DIR/post_app_install.py" ]; then
|
|
45
|
-
echo "执行:python $SOURCE_DIR/post_app_install.py $ROOT_DIR"
|
|
46
|
-
python "$SOURCE_DIR/post_app_install.py" "$ROOT_DIR" || echo "post_app_install.py 执行失败"
|
|
47
43
|
fi
|
|
48
44
|
|
|
49
45
|
echo "==================== 依赖安装完成!====================\n"
|
package/lib/cli.js
CHANGED
|
@@ -2114,7 +2114,7 @@ const EventBuilder = {
|
|
|
2114
2114
|
};
|
|
2115
2115
|
|
|
2116
2116
|
var name = "@coze-arch/cli";
|
|
2117
|
-
var version = "0.1.
|
|
2117
|
+
var version = "0.1.3-alpha.8d71d5";
|
|
2118
2118
|
var description = "coze coding devtools cli";
|
|
2119
2119
|
var license = "MIT";
|
|
2120
2120
|
var author = "fanwenjie.fe@bytedance.com";
|