Initial miaojingAI project with image resolution guard
This commit is contained in:
12
scripts/prepare.sh
Normal file
12
scripts/prepare.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
COZE_WORKSPACE_PATH="${COZE_WORKSPACE_PATH:-$(pwd)}"
|
||||
|
||||
cd "${COZE_WORKSPACE_PATH}"
|
||||
|
||||
echo "Installing dependencies..."
|
||||
pnpm install --prefer-frozen-lockfile --prefer-offline --loglevel debug --reporter=append-only
|
||||
if command -v coze > /dev/null 2>&1 && coze check-bins --help > /dev/null 2>&1; then
|
||||
coze check-bins --fix
|
||||
fi
|
||||
Reference in New Issue
Block a user